Index: xpi/makelocalexpi.sh =================================================================== RCS file: /cvsroot/mozilla/extensions/irc/xpi/makelocalexpi.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -d -p -u -6 -r1.3 -r1.4 --- xpi/makelocalexpi.sh 22 Dec 2007 01:02:22 -0000 1.3 +++ xpi/makelocalexpi.sh 16 Feb 2008 12:40:43 -0000 1.4 @@ -149,13 +149,13 @@ if ! [ -d "$L10NDIR" ]; then exit 1 fi # Extract version number. VERSION=`grep "const __cz_version" "$FEDIR/xul/content/static.js" | sed "s|.*\"\([^\"]\{1,\}\)\".*|\1|"` -BASE_VERSION=`echo "$VERSION" | sed "s|\([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*|\1|" +BASE_VERSION=`echo "$VERSION" | sed "s|\([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*|\1|"` if [ -z "$VERSION" ]; then echo "ERROR: Unable to get version number." exit 1 fi