Changed the install behavior to be one that a copy occurs
This commit is contained in:
parent
a2a507d779
commit
6a3cf226ec
1 changed files with 7 additions and 4 deletions
|
|
@ -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 ]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue