author Rob Lemley <>
Mon, 26 Aug 2019 21:32:55 -0400
changeset 35930 97517e9bd4f8e2fa4dfbe0bd70e613dbaaf30936
parent 28529 048f5041c99145a4f1aedd6856f3c0685e9c6590
child 35933 cf32e1d301f26d43d80cd38e66c8c021839943a6
permissions -rw-r--r--
Bug 1507754 - Update platform.ini with correct Repository URL as well as changeset. r=darktrojan a=jorgk 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)/" \