Browse code

try to fix archive extract stage for linux

Nat! authored on 24-06-2017 16:20:51
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+### 3.8.1
2
+
3
+* fix archive extraction on linux 
4
+
1 5
 ### 3.8.0
2 6
 
3 7
 * new build setting `srcdir` where you can specify the subdirectory, that contains configure, CMakeLists et.c
... ...
@@ -31,7 +31,7 @@
31 31
 #
32 32
 MULLE_EXECUTABLE_VERSION_MAJOR=3
33 33
 MULLE_EXECUTABLE_VERSION_MINOR=8
34
-MULLE_EXECUTABLE_VERSION_PATCH=0
34
+MULLE_EXECUTABLE_VERSION_PATCH=1
35 35
 
36 36
 MULLE_EXECUTABLE_VERSION="${MULLE_EXECUTABLE_VERSION_MAJOR}.${MULLE_EXECUTABLE_VERSION_MINOR}.${MULLE_EXECUTABLE_VERSION_PATCH}"
37 37
 
... ...
@@ -875,22 +875,27 @@ tar_unpack()
875 875
          ;;
876 876
       esac
877 877
 
878
+      local tarcommand
879
+
880
+      tarcommand="xf"
881
+
878 882
       case "${UNAME}" in
879
-         darwin)
883
+         darwin)  
884
+            # don't need it 
880 885
          ;;
881 886
 
882 887
          *)
883 888
             case "${url}" in
884 889
                *.gz)
885
-                  options="-z"
890
+                  tarcommand="xfz"
886 891
                ;;
887 892
 
888 893
                *.bz2)
889
-                  options="-j"
894
+                  tarcommand="xfj"
890 895
                ;;
891 896
 
892 897
                *.x)
893
-                  options="-J"
898
+                  tarcommand="xfJ"
894 899
                ;;
895 900
             esac
896 901
          ;;