Ver código fonte

wrapper for BSD

Waldemar Brodkorb 14 anos atrás
pai
commit
021237fba3
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9 0
      scripts/tar

+ 9 - 0
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