Pārlūkot izejas kodu

wrapper for BSD

Waldemar Brodkorb 14 gadi atpakaļ
vecāks
revīzija
021237fba3
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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