Lines Matching refs:FILE
7 # -m mode Sets a file's mode when installing
24 # set file mode
29 # install file(s) into destination
33 for FILE in $@ ; do
34 DESTDIR="$FILE"
39 for FILE in $@ ; do
52 case $FILE in
66 # determine file's type
67 if [ -h "$FILE" ] ; then
68 #echo $FILE is a symlink
73 LL=`ls -l "$FILE"`
77 #echo $FILE is a symlink pointing to $TARGET
79 FILE=`basename "$FILE"`
82 $RM "$FILE"
83 $SYMLINK "$TARGET" "$FILE"
86 elif [ -f "$FILE" ] ; then
87 #echo "$FILE" is a regular file
89 if ! cmp -s $FILE $DEST/`basename $FILE`; then
90 $RM "$DEST/`basename $FILE`"
91 cp "$FILE" "$DEST"
94 FILE=`basename "$FILE"`
95 chmod $MODE "$DEST/$FILE"
98 echo "Unknown type of argument: " "$FILE"
111 echo " install [-m mode] file [...] dest Install files in destination"