summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 07:12:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 07:12:19 +0200
commit48b18373159b70caca3f41643804c549552d66f4 (patch)
tree8f3ffa76ec9d815777f85b62caa5e778d0f7beef /scripts/tar
parent8366ec6a2404cf4b75158b39faabc29a8a1ed8a0 (diff)
parenta58a6ff7e5a354b7f743ebdba219f42655c1695b (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