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:
cltbld 2004-12-23 21:29:41 +00:00
Родитель 4a8f49d742
Коммит 99ef4f06a7
2 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -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.
#--------------------------------------------------------------------------