summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-11-09 13:31:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-11-09 13:31:49 +0100
commitcb02beee5de8c85d2956e2f205d74eeced28416d (patch)
tree17d21bbe33c398302396a54fb1945bee6372f623 /scripts/tar
parenta1ed67f04bb4b61af7383f2301b7dab6cb92e1b8 (diff)
parent442ae3a70f492fb16440ca081309638de0a6bd1b (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..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