summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-21 09:28:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-21 09:28:19 +0200
commit021237fba314dadb8f861a5ca5d45e327bcdd154 (patch)
tree2cf4bc180ac1b67f5e3d7d865d88442ea37ec06f /scripts
parent794a4a75d2e2c513e55b8962ad9e8e470dd82ba8 (diff)
wrapper for BSD
Diffstat (limited to 'scripts')
-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