summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 11:41:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 11:41:42 +0200
commitfb12cc0a7bb293e31e7064f5a64d6cbe0c5447dc (patch)
treedfe2e897aa384a22d5282562d7d393ff942655ea /scripts
parent48b18373159b70caca3f41643804c549552d66f4 (diff)
Darwin fixes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tar6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/tar b/scripts/tar
index 60c5057da..b696d5b92 100755
--- a/scripts/tar
+++ b/scripts/tar
@@ -3,7 +3,11 @@
# material, please see the LICENCE file in the top-level directory.
if [ -z "$(which gtar 2>/dev/null)" ];then
- /bin/tar "$@"
+ if [ -x /bin/tar ];then
+ /bin/tar "$@"
+ else
+ /usr/bin/tar "$@"
+ fi
else
gtar "$@"
fi