summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-08 19:26:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-08 19:26:55 +0200
commit359fa4649d98da18b6639469d6ef5121041f3c83 (patch)
treebed7cf240aad45d1cdf8dd984d98bdf86bf16d24 /scripts/tar
parent7dba7364057448354d24c49ff899a12eb47d1e5d (diff)
parent50329ba33d82bc4a38ef96824c60be2fd95c119b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/tar')
-rwxr-xr-xscripts/tar4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/tar b/scripts/tar
index 5d6db28b4..6f63d74c1 100755
--- a/scripts/tar
+++ b/scripts/tar
@@ -3,11 +3,15 @@
# material, please see the LICENCE file in the top-level directory.
if [ -z "$(which gtar 2>/dev/null)" ];then
+ if [ -z "$(which gnutar 2>/dev/null)" ];then
if [ -x /usr/bin/tar ];then
/usr/bin/tar "$@"
else
/bin/tar "$@"
fi
+ else
+ gnutar "$@"
+ fi
else
gtar "$@"
fi