mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Use a PACKAGE_MSI environment variable to control whether or not the script
continues execution. If this is not set to 1, the script will exit without attempting to create the MSI.
This commit is contained in:
parent
4a8f49d742
commit
99ef4f06a7
@ -11,6 +11,15 @@ if (!$win32) {
|
||||
die "ERROR: MSI installers can currently only be made on Windows platforms\n";
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# If $ENV{PACKAGE_MSI} is not true, exit.
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
if (!exists($ENV{PACKAGE_MSI}) or !defined($ENV{PACKAGE_MSI}) or ($ENV{PACKAGE_MSI} ne 1) ) {
|
||||
printf("make-msi.pl: PACKAGE_MSI environment variable is not true.. exiting.\n");
|
||||
exit;
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Find the MakeMSI mm.cmd program.
|
||||
#--------------------------------------------------------------------------
|
||||
|
@ -11,6 +11,15 @@ if (!$win32) {
|
||||
die "ERROR: MSI installers can currently only be made on Windows platforms\n";
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# If $ENV{PACKAGE_MSI} is not true, exit.
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
if (!exists($ENV{PACKAGE_MSI}) or !defined($ENV{PACKAGE_MSI}) or ($ENV{PACKAGE_MSI} ne 1) ) {
|
||||
printf("make-msi.pl: PACKAGE_MSI environment variable is not true.. exiting.\n");
|
||||
exit;
|
||||
}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Find the MakeMSI mm.cmd program.
|
||||
#--------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user