summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:27:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:27:23 +0200
commit71e1837bead950f0dfe2507dbefe897121fbd295 (patch)
tree98315dfe84ecfef947d5b14aa04b859d5912611c /scripts/tar
parentcc25a98b2c59070ab70ffdda4780cd238e665f5d (diff)
parent81c4c7c2cf2c5ff27a6c02e41bf484a53ea942c2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/tar')
-rwxr-xr-xscripts/tar6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/tar b/scripts/tar
index 60c5057da..5d6db28b4 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 /usr/bin/tar ];then
+ /usr/bin/tar "$@"
+ else
+ /bin/tar "$@"
+ fi
else
gtar "$@"
fi