зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1433517 - Prevent illegal characters in MOZ_MACBUNDLE_ID r=glandium
CFBundleIdentifiers can only contain [A-Za-z.-], and by convention the app component is lowercase and does not contain '.'. Make configure delete all characters other than [a-z-] when generating MOZ_MACBUNDLE_ID from MOZ_APP_DISPLAYNAME. --HG-- extra : rebase_source : f80df747c0c0ed6dae1cd9f2dc0e916da911cf8b
This commit is contained in:
Родитель
f54d08d271
Коммит
974faf875d
|
@ -4304,7 +4304,7 @@ 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' | tr -d '[[:blank:]]'`
|
||||
MOZ_MACBUNDLE_ID=`echo $MOZ_APP_DISPLAYNAME | tr 'A-Z' 'a-z' | tr -dc 'a-z-'`
|
||||
fi
|
||||
MOZ_MACBUNDLE_ID=${MOZ_DISTRIBUTION_ID}.${MOZ_MACBUNDLE_ID}
|
||||
if test "$MOZ_DEBUG"; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче