author Rob Lemley <>
Mon, 26 Aug 2019 21:32:55 -0400
changeset 35856 8802796b590383d7d376554132f23c9557762876
parent 29847 048f5041c99145a4f1aedd6856f3c0685e9c6590
child 35868 bb5f999a1fb0793627fa546626a5ab8f33734238
permissions -rw-r--r--
Bug 1507754 - Update platform.ini with correct Repository URL as well as changeset. r=darktrojan Update the sed command to also swap in the Mozilla repository URL along with the changeset.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

include $(moztopsrcdir)/config/
include $(moztopsrcdir)/config/

# For Windows build the uninstaller during the application build since the
# uninstaller is included with the application for mar file generation.
	$(MAKE) -C installer/windows uninstaller
	$(MAKE) -C installer/windows maintenanceservice_installer

# As fallout from bug 1247162, the sourcestamp in application.ini and
# platform.ini are the same, which isn't a problem for Firefox, but
# it's not right for anything else. So we correct platform.ini here.
# The first expression is a URL with / characters, so use _ for a delimiter
libs:: $(DIST)/bin/platform.ini
	sed -i -e "s_^\(SourceRepository=\).*_\1$(MOZ_GECKO_SOURCE_REPO)_" \
		-e "s/^\(SourceStamp=\).*/\1$(MOZ_GECKO_SOURCE_CHANGESET)/" \