Commit 17497a6e authored by Christophe Mutricy's avatar Christophe Mutricy

Remove some GNUism

parent de51c577
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. # 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 "Usage: $0 [host [distro]]" >&2
echo " Prepare config.mak and distro.mak file." >&2 echo " Prepare config.mak and distro.mak file." >&2
exit 1 exit 1
......
...@@ -167,7 +167,7 @@ FORCE: ...@@ -167,7 +167,7 @@ FORCE:
define EXTRACT_GZ define EXTRACT_GZ
rm -rf $@ || true rm -rf $@ || true
tar xzf $< --exclude='[*?:<>\|]' gunzip $< | tar xf - --exclude='[*?:<>\|]'
mv $(patsubst %.tar.gz,%,$(patsubst %.tgz,%,$(notdir $<))) $@ || true mv $(patsubst %.tar.gz,%,$(patsubst %.tgz,%,$(notdir $<))) $@ || true
touch $@ touch $@
endef endef
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment