diff scripts/miscellaneous/unpack.m @ 6546:44a4f68fbd76

[project @ 2007-04-19 17:06:22 by jwe]
author jwe
date Thu, 19 Apr 2007 17:06:22 +0000
parents 05257ee9753d
children 93c65f2a5668
line wrap: on
line diff
--- a/scripts/miscellaneous/unpack.m	Thu Apr 19 16:53:15 2007 +0000
+++ b/scripts/miscellaneous/unpack.m	Thu Apr 19 17:06:22 2007 +0000
@@ -114,23 +114,23 @@
   ##   bzip2 and gzip decompress the file at its location).
   persistent commandlist;
   if (isempty (commandlist))
-    commandlist.gz = {"gunzip -v -r \"%s\"", ...
-		      "gunzip -r \"%s\"", ...
+    commandlist.gz = {"gzip -d -v -r \"%s\"", ...
+		      "gzip -d -r \"%s\"", ...
 		      @__parse_gzip__, true};
     commandlist.z = commandlist.gz;
-    commandlist.bz2 = {"bunzip2 -v \"%s\"", ...
-		       "bunzip2 \"%s\"", ...
+    commandlist.bz2 = {"bzip2 -d -v \"%s\"", ...
+		       "bzip2 -d \"%s\"", ...
 		       @__parse_bzip2__, true};
     commandlist.bz = commandlist.bz2;
     commandlist.tar = {"tar -x -v -f \"%s\"", ...
 		       "tar -x -f \"%s\"", ...
 		       @__parse_tar__, false};
-    commandlist.targz = {"gunzip -c \"%s\" | tar -x -v", ...
-			 "gunzip -c \"%s\" | tar -x", ...
+    commandlist.targz = {"gzip -d -c \"%s\" | tar -x -v", ...
+			 "gzip -d -c \"%s\" | tar -x", ...
 			 @__parse_tar__, false};
     commandlist.tgz = commandlist.targz;
-    commandlist.tarbz2 = {"bunzip2 -c \"%s\" | tar -x -v", ...
-			  "bunzip2 -c \"%s\" | tar -x", ...
+    commandlist.tarbz2 = {"bzip2 -d -c \"%s\" | tar -x -v", ...
+			  "bzip2 -d -c \"%s\" | tar -x", ...
 			  @__parse_tar__, false};
     commandlist.tarbz = commandlist.tarbz2;
     commandlist.tbz2 = commandlist.tarbz2;