Bug 1380781 - Mac release promotion l10n repacks fail to download find mkfshfs r=glandium draft
authorRail Aliiev <rail@mozilla.com>
Tue, 18 Jul 2017 07:13:10 -0400
changeset 610505 0611ca846b81138ffedb73cff13f03c8f92e2122
parent 610504 922f398557affed695563755c1b92469075aea1b
child 637879 a9aad2cfc001abfff6b3a9b8ecafd6f5081f04de
push id68912
push userbmo:rail@mozilla.com
push dateTue, 18 Jul 2017 11:14:50 +0000
reviewersglandium
bugs1380781
milestone56.0a1
Bug 1380781 - Mac release promotion l10n repacks fail to download find mkfshfs r=glandium MozReview-Commit-ID: IYSAv7VMbzF
browser/config/mozconfigs/macosx64/l10n-mozconfig
browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
--- a/browser/config/mozconfigs/macosx64/l10n-mozconfig
+++ b/browser/config/mozconfigs/macosx64/l10n-mozconfig
@@ -1,17 +1,18 @@
 . "$topsrcdir/browser/config/mozconfigs/common"
 . "$topsrcdir/build/mozconfig.no-compile"
 
-# We need to indicate the target for cross builds
-ac_add_options --target=x86_64-apple-darwin
-
-export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
-export DMG_TOOL=$topsrcdir/dmg/dmg
-export HFS_TOOL=$topsrcdir/dmg/hfsplus
+if test `uname -s` = "Linux"; then
+  # We need to indicate the target for cross builds
+  ac_add_options --target=x86_64-apple-darwin
+  export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
+  export DMG_TOOL=$topsrcdir/dmg/dmg
+  export HFS_TOOL=$topsrcdir/dmg/hfsplus
+fi
 
 ac_add_options --with-l10n-base=../../l10n
 ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
 ac_add_options --with-branding=browser/branding/nightly
 
 if test "${MOZ_UPDATE_CHANNEL}" = "nightly"; then
 ac_add_options --with-macbundlename-prefix=Firefox
 fi
--- a/browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
+++ b/browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
@@ -1,17 +1,18 @@
 . "$topsrcdir/browser/config/mozconfigs/common"
 . "$topsrcdir/build/mozconfig.no-compile"
 
-# We need to indicate the target for cross builds
-ac_add_options --target=x86_64-apple-darwin
-
-export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
-export DMG_TOOL=$topsrcdir/dmg/dmg
-export HFS_TOOL=$topsrcdir/dmg/hfsplus
+if test `uname -s` = "Linux"; then
+  # We need to indicate the target for cross builds
+  ac_add_options --target=x86_64-apple-darwin
+  export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
+  export DMG_TOOL=$topsrcdir/dmg/dmg
+  export HFS_TOOL=$topsrcdir/dmg/hfsplus
+fi
 
 ac_add_options --with-l10n-base=../../l10n
 ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
 ac_add_options --with-branding=browser/branding/aurora
 
 if test "${MOZ_UPDATE_CHANNEL}" = "nightly"; then
 ac_add_options --with-macbundlename-prefix=Firefox
 fi