browser/installer/windows/moz.build
author Nathan Froyd <froydnj@mozilla.com>
Wed, 18 Nov 2015 13:44:20 -0500
changeset 291699 a256d40aa813723030043f469ae57b3b9e1c8c29
parent 274235 bdfaafcf994bc7896f7278ab25d36ae12a2af6b0
child 331170 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1225918 - avoid quoting MOZ_APP_DISPLAYNAME when used as a DEFINE; r=mshal, a=lizzard Moving DEFINES from Makefile.in to moz.build in browser/installer/windows/ kept the single quotes for MOZ_APP_DISPLAYNAME. Unfortunately, the patch author missed that those quotes were there for the shell's benefit, not as a part of the defined value. These extraneous quotes look rather unbecoming in the installer. Since mozbuild adds the appropriate quoting to a defined value, we can simply forego the quoting in the moz.build file.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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 http://mozilla.org/MPL/2.0/.

DEFINES['APP_VERSION'] = CONFIG['FIREFOX_VERSION']

DEFINES['MOZ_APP_NAME'] = CONFIG['MOZ_APP_NAME']
DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
DEFINES['MOZILLA_VERSION'] = CONFIG['MOZILLA_VERSION']