Changed the install behavior to be one that a copy occurs

This commit is contained in:
Harry Moffat 2009-12-24 22:16:31 +00:00
parent a2a507d779
commit 6a3cf226ec

View file

@ -44,7 +44,7 @@ mkdirprog="${MKDIRPROG-mkdir}"
verbose=""
transformbasename=""
transform_arg=""
instcmd="$mvprog"
instcmd="$cpprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
@ -57,7 +57,10 @@ dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
-c) shift
continue;;
-move) instcmd="$mvprog"
shift
continue;;
@ -138,8 +141,8 @@ else
then
true
else
echo "install: $src does not exist"
exit 1
echo "install: WARNING $src does not exist"
exit 0
fi
if [ x"$dst" = x ]