summaryrefslogtreecommitdiff
path: root/scripts/tar
diff options
context:
space:
mode:
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