summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-09-14 15:32:02 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-09-14 15:32:02 (GMT)
commitcd5441ec7937703904700dddf25afdcc80a66661 (patch)
tree1e7cd919d1d514b1b30ca55e01ebfd96585bfabe /bin
parent2be60dfbc08eed737716ff5025e23e63c3f6bbb5 (diff)
downloadQt-cd5441ec7937703904700dddf25afdcc80a66661.zip
Qt-cd5441ec7937703904700dddf25afdcc80a66661.tar.gz
Qt-cd5441ec7937703904700dddf25afdcc80a66661.tar.bz2
Fix compile error with active perl 5.8.9
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'bin')
-rwxr-xr-xbin/createpackage.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/createpackage.pl b/bin/createpackage.pl
index 238eae3..361b32d 100755
--- a/bin/createpackage.pl
+++ b/bin/createpackage.pl
@@ -321,10 +321,11 @@ if($stub) {
# Create SIS.
# The 'and' is because system uses 0 to indicate success.
- if($ENV{EPOCROOT})
+ if($ENV{EPOCROOT}) {
system ("$ENV{EPOCROOT}epoc32/tools/makesis $pkgoutput $unsigned_sis_name") and die ("makesis failed");
- else
+ } else {
system ("makesis $pkgoutput $unsigned_sis_name") and die ("makesis failed");
+ }
print("\n");
my $targetInsert = "";