summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-21 11:34:55 +0200
commitdeb96b0a843e6e133d4334996dc28373972bea5d (patch)
tree1b1d5c1928f4cf91692517f330e543725731b3f7 /scripts/tar
parent50345b17210bea8b96200fa618d65adf3c3f0b66 (diff)
parentded3b4fdf4b0171762288f22a532c7306ddb3cbc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/tar')
-rwxr-xr-xscripts/tar9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tar b/scripts/tar
new file mode 100755
index 000000000..60c5057da
--- /dev/null
+++ b/scripts/tar
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+if [ -z "$(which gtar 2>/dev/null)" ];then
+ /bin/tar "$@"
+else
+ gtar "$@"
+fi