Jelajahi Sumber

wrapper for BSD

Waldemar Brodkorb 14 tahun lalu
induk
melakukan
021237fba3
1 mengubah file dengan 9 tambahan dan 0 penghapusan
  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