From 6a3cf226ec10cc19c69d1b08343955ed34565f97 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 24 Dec 2009 22:16:31 +0000 Subject: [PATCH] Changed the install behavior to be one that a copy occurs --- config/install-sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/install-sh b/config/install-sh index 7093cc7e5..a992cfcdb 100755 --- a/config/install-sh +++ b/config/install-sh @@ -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 ]