aboutsummaryrefslogtreecommitdiffstats
path: root/install-sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xinstall-sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/install-sh b/install-sh
index 30d4f7c..890de2f 100755
--- a/install-sh
+++ b/install-sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $Id: install-sh,v 1.3 2001/12/17 15:42:44 ukai Exp $
+# $Id: install-sh,v 1.4 2002/09/09 13:51:46 ukai Exp $
set -e
@@ -38,6 +38,9 @@ else
dest=$2
fi
+if [ -f $dest ]; then
+ rm -f $dest
+fi
cp $file $dest
if [ -n "$strip" ]; then
$strip $dest