Rename key in latest.properties from path to B2G_BUILD_PATH to reduce ambiguity. r=catlee
authorDave Hunt <dhunt@mozilla.com>
Fri, 30 Jan 2015 19:37:15 +0000 (2015-01-30)
changeset 3618 069e6f8e814bd5dae355c8d3a31d392e39078346
parent 3615 04ff04530e9a39370622921a9f88fb0c3f92582c
child 3619 4b6bc0a8814e2dcfab2771c986232b04f06ba4f9
push id2828
push userdhunt@mozilla.com
push dateFri, 30 Jan 2015 19:37:28 +0000 (2015-01-30)
reviewerscatlee
Rename key in latest.properties from path to B2G_BUILD_PATH to reduce ambiguity. r=catlee
scripts/b2g_build.py
--- a/scripts/b2g_build.py
+++ b/scripts/b2g_build.py
@@ -790,17 +790,18 @@ class B2GBuild(LocalesMixin, PurgeMixin,
                 self.error("failed to create latest symlink")
                 self.return_code = 2
             # Create properties file
             remote_properties_path = '%s.properties' % remote_symlink_path
             cmd = [ssh,
                    '-l', ssh_user,
                    '-i', ssh_key,
                    remote_host,
-                   'echo path=%s > %s' % (remote_path, remote_properties_path),
+                   'echo B2G_BUILD_PATH=%s > %s' % (remote_path,
+                                                    remote_properties_path),
                    ]
             retval = self.run_command(cmd)
             if retval != 0:
                 self.error("failed to create properties file")
                 self.return_code = 2
 
     def _do_postupload_upload(self, upload_dir, ssh_key, ssh_user, remote_host,
                               postupload_cmd):