aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave/files/patch-scripts+miscellaneous+unpack.m
blob: 5dfdd967549285a1ab30beb1e91af7305c636a1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- scripts/miscellaneous/unpack.m.orig 2007-10-13 06:27:23.000000000 +0900
+++ scripts/miscellaneous/unpack.m  2008-02-27 11:17:04.000000000 +0900
@@ -124,12 +124,12 @@
     commandlist.tar = {"tar -x -v -f \"%s\"", ...
               "tar -x -f \"%s\"", ...
               @__parse_tar__, false};
-    commandlist.targz = {"gzip -d -c \"%s\" | tar -x -v", ...
-            "gzip -d -c \"%s\" | tar -x", ...
+    commandlist.targz = {"gzip -d -c \"%s\" | tar -x -v -f - ", ...
+                        "gzip -d -c \"%s\" | tar -x -f - ", ...
             @__parse_tar__, false};
     commandlist.tgz = commandlist.targz;
-    commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v", ...
-             "bzip2 -d -c \"%s\" | tar -x", ...
+    commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v -f - ", ...
+                        "bzip2 -d -c \"%s\" | tar -x -f - ", ...
              @__parse_tar__, false};
     commandlist.tarbz = commandlist.tarbz2;
     commandlist.tbz2 = commandlist.tarbz2;