From ec63801bfbedf2d71623400c6fc21d4b532cd278 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 22 Sep 2009 09:45:49 +0200 Subject: * med-xpi-{pack,unpack}: - add parenthesis to $1 to avoid problems if $1 is empty - update src/med-xpi-pack - update src/med-xpi-unpack --- src/med-xpi-pack | 2 +- src/med-xpi-unpack | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/med-xpi-pack b/src/med-xpi-pack index 0e3d8ec..9d3e433 100755 --- a/src/med-xpi-pack +++ b/src/med-xpi-pack @@ -38,7 +38,7 @@ usage() { exit 1; } -if [ $1 = "--help" -o $1 = "-h" ] ; then +if [ "$1" = "--help" -o "$1" = "-h" ] ; then usage; fi; diff --git a/src/med-xpi-unpack b/src/med-xpi-unpack index 2a22377..778e4b5 100755 --- a/src/med-xpi-unpack +++ b/src/med-xpi-unpack @@ -33,7 +33,7 @@ usage() { exit 1; } -if [ $1 = "--help" -o $1 = "-h" ] ; then +if [ "$1" = "--help" -o "$1" = "-h" ] ; then usage; fi; -- cgit v1.2.3