diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-07 12:34:06 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-07 12:34:06 +0200 |
commit | 702e216210d58f1301c80d4e55af5d29f813eb19 (patch) | |
tree | 90c17c754d44370c230ae852f846524ab7014510 /scripts/tar | |
parent | 5c6967567427b9d5cbde9057b49a4894177ad559 (diff) |
gnu tar fixes for MacOS X host
Diffstat (limited to 'scripts/tar')
-rwxr-xr-x | scripts/tar | 4 |
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 |