gunzip -d is not available on every gunzip implementation

classic Classic list List threaded Threaded
2 messages Options
Robert Nagy Robert Nagy
Reply | Threaded
Open this post in threaded view
|

gunzip -d is not available on every gunzip implementation

Hi

The Subject says everything, not to mention that gunzip will always
decompress, so there is no need for -d.

gunzip: unknown option -- d
usage: gunzip [-cfhlNnqrtVv] [-o filename] [file ...]

--

diff --git a/bin/setup.in b/bin/setup.in
index 6133d77..a802598 100755
--- a/bin/setup.in
+++ b/bin/setup.in
@@ -284,7 +284,7 @@ export SUSE_ASNEEDED=0
 OOO_SCALED_ICONS_VER=ooo-scaled-icons
 OOO_SCALED_ICONS_TARBALL=$OOO_SCALED_ICONS_VER.tar.gz
 OOO_SCALED_ICONS_UNTAR_OPTIONS=xzf
-OOO_SCALED_ICONS_DECOMPRESS_CMD="gunzip -dc"
+OOO_SCALED_ICONS_DECOMPRESS_CMD="gunzip -c"
 
 #
 # up-stream changed the split and names at random
diff --git a/bin/unpack b/bin/unpack
index a576f25..e87e8f7 100755
--- a/bin/unpack
+++ b/bin/unpack
@@ -638,7 +638,7 @@ fi
 
 if test -f $SRCDIR/$APACHE_ANT_TARBALL; then
     $echo_n "Extracting ant $echo_c"
-    (gunzip -dc $SRCDIR/$APACHE_ANT_TARBALL | $GNUTAR xf - )|| exit 1;
+    (gunzip -c $SRCDIR/$APACHE_ANT_TARBALL | $GNUTAR xf - )|| exit 1;
     echo "done";
 else
     echo "Don't need to unpack ant";
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Rene Engelhard Rene Engelhard
Reply | Threaded
Open this post in threaded view
|

Re: gunzip -d is not available on every gunzip implementation

On Wed, Nov 03, 2010 at 09:32:08PM +0100, Robert Nagy wrote:
> The Subject says everything, not to mention that gunzip will always
> decompress, so there is no need for -d.

Pushed, thanks.

Grüße/Regards,

René
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice