浏览代码

wrapper for BSD

Waldemar Brodkorb 14 年之前
父节点
当前提交
021237fba3
共有 1 个文件被更改,包括 9 次插入0 次删除
  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