Bug 1431477 - Fix the bundle ID for devedition by removing whitespaces. r=glandium, a=lizzard
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 22 Jan 2018 11:09:52 +0100
changeset 452047 5798b4c1d8cd7752ab3c36c8c863c818aecf936f
parent 452046 0f692cbb39d7b7a60900f34e79030fb69c094271
child 452048 4aedb56b41c7fbc4af895f829f26edb2b9d796d2
push id8586
push userryanvm@gmail.com
push dateThu, 25 Jan 2018 02:57:25 +0000
treeherdermozilla-beta@4aedb56b41c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, lizzard
bugs1431477
milestone59.0
Bug 1431477 - Fix the bundle ID for devedition by removing whitespaces. r=glandium, a=lizzard 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)