Bug 1090219 - SeaMonkey updates for release jobs fail. r-pending=rstrong. a=IanN CLOSED TREE DONTBUILD SEAMONKEY_2_49_ESR_RELBRANCH
authorJustin Wood <Callek@gmail.com>
Tue, 28 Oct 2014 22:06:04 -0400
branchSEAMONKEY_2_49_ESR_RELBRANCH
changeset 357508 1e2abcc307fce14af9e40b05dc61914ac881064b
parent 357507 9fa5d150e21fa78500b8ceacfaecb0aec07b9ed5
child 357509 49b9241e6adb01bf0e41d9154e4e48ccfc5b65c3
push id7834
push userfrgrahl@gmx.net
push dateSun, 13 Jan 2019 12:17:02 +0000
treeherdermozilla-esr52@6e4ad8a8f2e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs1090219
milestone52.9.1
Bug 1090219 - SeaMonkey updates for release jobs fail. r-pending=rstrong. a=IanN CLOSED TREE DONTBUILD mozilla-esr52 SEAMONKEY_2_49_ESR_RELBRANCH
tools/update-packaging/make_incremental_updates.py
--- a/tools/update-packaging/make_incremental_updates.py
+++ b/tools/update-packaging/make_incremental_updates.py
@@ -423,18 +423,21 @@ def usage():
 
 def get_buildid(work_dir):
     """ extracts buildid from MAR
     """
     ini = '%s/application.ini' % work_dir
     if not os.path.exists(ini):
         ini = '%s/Contents/Resources/application.ini' % work_dir
         if not os.path.exists(ini):
-            print 'WARNING: application.ini not found, cannot find build ID'
-            return ''
+            # Try the old (pre Gecko 34) location
+            ini = '%s/Contents/MacOS/application.ini' % work_dir
+            if not os.path.exists(ini):
+                print 'WARNING: application.ini not found, cannot find build ID'
+                return ''
 
     file = bz2.BZ2File(ini)
     for line in file:
         if line.find('BuildID') == 0:
             return line.strip().split('=')[1]
     print 'WARNING: cannot find build ID in application.ini'
     return ''