summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-03 11:33:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-03 11:33:07 +0200
commit9cd136a4fc55ae34b4f5455e2e2270e028fd0bd3 (patch)
tree60658dc4c0099048aa0a1b112d94a95dee8d5df8
parentba66549888fbf40b19f1db5b820d78e024b33017 (diff)
use a wrapper for install for Darwin
-rwxr-xr-xscripts/install10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install
new file mode 100755
index 000000000..0fe925d0f
--- /dev/null
+++ b/scripts/install
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+if [ -z "$(which ginstall 2>/dev/null)" ];then
+ /usr/bin/install "$@"
+else
+ ginstall "$@"
+fi
+