Bug 1431477 - Fix the bundle ID for devedition by removing whitespaces r?glandium draft
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 22 Jan 2018 11:09:52 +0100
changeset 724039 1c242a7122b5650635d7844204af774399c583b1
parent 723009 5faab9e619901b1513fd4ca137747231be550def
child 747021 3c19d4250f0188684d4b3346a394e239b3188021
push id96607
push userbmo:sledru@mozilla.com
push dateWed, 24 Jan 2018 08:00:56 +0000
reviewersglandium
bugs1431477
milestone59.0a1
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)