summaryrefslogtreecommitdiff
path: root/support/scripts
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2005-08-25 16:14:50 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2005-08-25 16:14:50 +0000
commit3d0bf84e9b9235e03478b3f7746774c630a3b513 (patch)
treea52831b8e7f35ab87cd0466052eea4ab15a25cfb /support/scripts
parenteb2601d5af79931d0fd7796ec3252238b004a45e (diff)
downloadscala-3d0bf84e9b9235e03478b3f7746774c630a3b513.tar.gz
scala-3d0bf84e9b9235e03478b3f7746774c630a3b513.tar.bz2
scala-3d0bf84e9b9235e03478b3f7746774c630a3b513.zip
Update touch syntax to support Mac OS X BSD tou...
Update touch syntax to support Mac OS X BSD touch tool ("-r" instead of "--reference").
Diffstat (limited to 'support/scripts')
-rw-r--r--support/scripts/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/install.sh b/support/scripts/install.sh
index 352b47f75a..fb26219b51 100644
--- a/support/scripts/install.sh
+++ b/support/scripts/install.sh
@@ -53,7 +53,7 @@ function install-copy() {
local dstfile="$1"; shift 1;
run cp "$srcfile" "$dstfile";
if [ "$preserve" == "true" ]; then
- touch --reference="$srcfile" "$dstfile";
+ touch -r "$srcfile" "$dstfile";
fi;
install-attr "$dstfile";
}