Bug 1431477 - Fix the bundle ID for devedition by removing whitespaces r=glandium
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 22 Jan 2018 11:09:52 +0100
changeset 400608 6cbb45faec894981794b33567c57140f591cb2f6
parent 400607 640595d09e90c717a2c1b24877ac0f5f4817faf2
child 400609 40c125df036bde1df48c90c7231718836df102fe
push id33311
push usernbeleuzu@mozilla.com
push dateWed, 24 Jan 2018 21:56:54 +0000
treeherdermozilla-central@32b850fa28ae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1431477
milestone60.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 1431477 - Fix the bundle ID for devedition by removing whitespaces r=glandium MozReview-Commit-ID: G2cpTlpZFiR
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -4376,17 +4376,17 @@ else
   MOZ_MACBUNDLE_NAME=${MOZ_MACBUNDLE_NAME}.app
 fi
 AC_SUBST(MOZ_MACBUNDLE_NAME)
 
 dnl Mac bundle identifier (based on MOZ_APP_DISPLAYNAME)
 # If the MOZ_MACBUNDLE_ID is defined in the configure.sh, use it
 # Otherwise, use MOZ_APP_DISPLAYNAME
 if test -z "$MOZ_MACBUNDLE_ID"; then
-   MOZ_MACBUNDLE_ID=`echo $MOZ_APP_DISPLAYNAME | tr '[A-Z]' '[a-z]'`
+   MOZ_MACBUNDLE_ID=`echo $MOZ_APP_DISPLAYNAME | tr '[A-Z]' '[a-z]' | tr -d '[[:blank:]]'`
 fi
 MOZ_MACBUNDLE_ID=${MOZ_DISTRIBUTION_ID}.${MOZ_MACBUNDLE_ID}
 if test "$MOZ_DEBUG"; then
   MOZ_MACBUNDLE_ID=${MOZ_MACBUNDLE_ID}debug
 fi
 
 AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
 AC_SUBST(MOZ_MACBUNDLE_ID)