From 3d9ade43bd2524c6de47a0fc5e4585a49d40b455 Mon Sep 17 00:00:00 2001 From: cltbld Date: Fri, 28 Oct 2005 21:56:30 +0000 Subject: [PATCH] Assert that mac_bundle_path is set before beginning the build. --- tools/tinderbox/post-mozilla-rel.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/tinderbox/post-mozilla-rel.pl b/tools/tinderbox/post-mozilla-rel.pl index 2a7855cc854f..faa258222e03 100755 --- a/tools/tinderbox/post-mozilla-rel.pl +++ b/tools/tinderbox/post-mozilla-rel.pl @@ -979,6 +979,10 @@ sub returnStatus{ } sub PreBuild { + # assert that needed variables are defined as the build scripts expect + if (is_mac() and !defined($Settings::mac_bundle_path)) { + die "ERROR: mac_bundle_path unset!"; + } # last-built.new is used to track a respin as it is currently happening and # later takes the place of last-built. If it exists at this point in the