diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-16 17:27:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-16 17:27:23 +0200 |
commit | 71e1837bead950f0dfe2507dbefe897121fbd295 (patch) | |
tree | 98315dfe84ecfef947d5b14aa04b859d5912611c /scripts/tar | |
parent | cc25a98b2c59070ab70ffdda4780cd238e665f5d (diff) | |
parent | 81c4c7c2cf2c5ff27a6c02e41bf484a53ea942c2 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/tar')
-rwxr-xr-x | scripts/tar | 6 |
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 |