Bug 895435 - SpiderMonkey: Quote characters so that the build doesn't fail if CWD contains a file named 'b'. r=glandium
authorDan Gohman <sunfish@google.com>
Mon, 02 Sep 2013 14:55:21 -0700
changeset 145248 419bd018c13ed12b5f97fb3772138f2e96657040
parent 145247 6de29dc7087453120e976e2b4af9226159ec41af
child 145249 b2ad58e8b2481d670347ba35a66670d42d32b003
push id33214
push usersunfish@google.com
push dateMon, 02 Sep 2013 21:59:55 +0000
treeherdermozilla-inbound@419bd018c13e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs895435
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 895435 - SpiderMonkey: Quote characters so that the build doesn't fail if CWD contains a file named 'b'. r=glandium
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -227,17 +227,17 @@ AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZ
 AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
 AC_DEFINE_UNQUOTED(MOZILLA_UAVERSION,"$MOZILLA_UAVERSION")
 
 # Separate version into components for use in shared object naming etc
 changequote(,)
 MOZJS_MAJOR_VERSION=`echo $MOZILLA_VERSION | sed "s|\(^[0-9]*\)\.[0-9]*.*|\1|"`
 MOZJS_MINOR_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.\([0-9]*\).*|\1|"`
 MOZJS_PATCH_VERSION=`echo $MOZILLA_VERSION | sed "s|^[0-9]*\.[0-9]*[^0-9]*||"`
-IS_ALPHA=`echo $MOZILLA_VERSION | grep [ab]`
+IS_ALPHA=`echo $MOZILLA_VERSION | grep '[ab]'`
 
 dnl XXX in a temporary bid to avoid developer anger at renaming files
 dnl XXX before "js" symlinks exist, don't change names.
 dnl
 dnl if test -n "$JS_STANDALONE"; then
 dnl JS_SHELL_NAME=js$MOZJS_MAJOR_VERSION
 dnl JS_CONFIG_NAME=js$MOZJS_MAJOR_VERSION-config
 dnl else