]> git.sesse.net Git - vlc/commitdiff
Remove some GNUism
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 16 May 2007 20:14:09 +0000 (20:14 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 16 May 2007 20:14:09 +0000 (20:14 +0000)
extras/contrib/bootstrap
extras/contrib/src/Makefile

index 3a2a2cdbf9bd3eb9ce1715207caedb6bc5107def..35fc99bb0af9cf4ef5dc5ed0ddfc131c45baa1d6 100755 (executable)
@@ -24,7 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 # ***************************************************************************
 
-if test "$#" -gt "2" -o $1 = "-h" -o $1 = "--help" ; then
+if test "$#" -gt "2" -o "$1" = "-h" -o "$1" = "--help" ; then
   echo "Usage: $0 [host [distro]]" >&2
   echo "  Prepare config.mak and distro.mak file." >&2
   exit 1
index 519500757aa5e3f8efacec0228e179b3eb6c12ef..90a8534ffeedcc2bfb8eace8303deea32b54d541 100644 (file)
@@ -167,7 +167,7 @@ FORCE:
 
 define EXTRACT_GZ
        rm -rf $@ || true
-       tar xzf $< --exclude='[*?:<>\|]' 
+       gunzip $< | tar xf - --exclude='[*?:<>\|]' 
        mv $(patsubst %.tar.gz,%,$(patsubst %.tgz,%,$(notdir $<))) $@ || true
        touch $@
 endef