summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2009-09-22 09:45:49 +0200
committerBenjamin Drung <bdrung@ubuntu.com>2009-09-22 09:45:49 +0200
commitec63801bfbedf2d71623400c6fc21d4b532cd278 (patch)
tree793afec19d1ab47f461f608f06e2054159be741e /src
parent9282e6743cb2257879966638caf8f4a8940ba873 (diff)
* 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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/med-xpi-pack2
-rwxr-xr-xsrc/med-xpi-unpack2
2 files changed, 2 insertions, 2 deletions
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;