summaryrefslogtreecommitdiffstats
path: root/tools/install.sh
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-10 10:14:06 +0000
committermarcel <marcel@FreeBSD.org>1999-12-10 10:14:06 +0000
commitc48451203a194b8b0c9f644aad17d077d8593513 (patch)
tree21c1b9f8d7e4669d373fe470ea13718bd4feb06c /tools/install.sh
parent600b6d43b7aea86ce8af89c832e6ecc39737cf7d (diff)
downloadFreeBSD-src-c48451203a194b8b0c9f644aad17d077d8593513.zip
FreeBSD-src-c48451203a194b8b0c9f644aad17d077d8593513.tar.gz
Use install -C -p instead of cp -p.
Pointed out by: bde
Diffstat (limited to 'tools/install.sh')
-rw-r--r--tools/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index b172308..d9bf225 100644
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -38,5 +38,5 @@ while [ ! -z $1 ]; do
esac
done
-# the remaining arguments can be fed to cp
-exec cp -p $*
+# the remaining arguments are assumed to be files/dirs only.
+exec install -C -p $*
OpenPOWER on IntegriCloud