home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #+++
- # NAME : sccs_install
- #
- # PURPOSE : check for presence of a file and, if not present then
- # sccs_get to install a read only version of the file
- # if file is present then do nothing
- #
- # USAGE : sccs_install file1 file2 ....
- #
- # DATE : Sat Mar 10 15:17:21 EST 1990
- #
- # AUTHOR : W. Hatch
- #
- # PROJECT : WEH Software
- #
- # COMPANY : Coleman Research
- # 14504 Greenview Drive Suite 500
- # Laurel, Maryland 20708
- # Phone (301)470-3839
- # FAX (301)776-5461
- #
- #------------------------------------------------------------------------
- # if no command line arguments then abort with usage instructions
- #------------------------------------------------------------------------
- usage="sccs_install file1 file2 .... "
- case $# in
- 0) echo $usage
- exit;;
- esac
-
- for i
- do
- if [ ! -f $i ]
- then
- sccs_get $i
- fi
- done
-