summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSasa Bodiroza <jazzva@gmail.com>2009-10-21 20:03:30 +0200
committerSasa Bodiroza <jazzva@gmail.com>2009-10-21 20:03:30 +0200
commit174c6068e9bd108c3c4478c2e4ee3b0eeb0fce7d (patch)
treed0c9e0649f2739db779d95ea1813f71868162dcb /src
parent0ea6f2a275bfc7713c9844943e420dc0a5b03401 (diff)
* med-xpi-{pack,unpack}:
- Enclose -name parameter with single quotes in find command
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 f23b7b2..03c9b43 100755
--- a/src/med-xpi-pack
+++ b/src/med-xpi-pack
@@ -64,7 +64,7 @@ fi;
START_DIR=`pwd`;
PACK_JAR_PATHS="";
cd $INDIR;
-for JAR_DIR in `find . -type d -name *.jar\!` ; do
+for JAR_DIR in `find . -type d -name '*.jar\!'` ; do
JAR_FILE=`echo $JAR_DIR | sed "s/jar\!$/jar/"`;
ABS_JAR_PATH=`cd $JAR_DIR ; pwd`;
ABS_JAR_FILE=`echo $ABS_JAR_PATH | sed "s/jar\!$/jar/"`;
diff --git a/src/med-xpi-unpack b/src/med-xpi-unpack
index a487582..2b1e447 100755
--- a/src/med-xpi-unpack
+++ b/src/med-xpi-unpack
@@ -66,7 +66,7 @@ echo "Unpacking $XPIFILE";
unzip -q $XPIFILE -d $OUTDIR;
cd $OUTDIR;
-for JAR_PATH in `find . -name *.jar` ; do
+for JAR_PATH in `find . -name '*.jar'` ; do
echo "Unpacking $JAR_PATH";
unzip -q $JAR_PATH -d $JAR_PATH!;
rm -f $JAR_PATH;