aboutsummaryrefslogtreecommitdiffstats
path: root/init-repository
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-04-28 14:19:42 +1000
committeraxis <qt-info@nokia.com>2011-05-03 13:47:51 +0200
commit984400a5865ceee22ee2c7e2a4b09f2ddef6fc1d (patch)
treecc91bd80c6338e55fc08d8faee124196790c1150 /init-repository
parentea437d376712be54ba654688ea1f333481d18b9e (diff)
Warn everywhere, not just Unix
use warnings; is the portable way of doing #!/usr/bin/perl -w Also use strict; in init-repository. Signed-off-by: axis <qt-info@nokia.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-xinit-repository5
1 files changed, 4 insertions, 1 deletions
diff --git a/init-repository b/init-repository
index 4acc22cc..ef2e6d55 100755
--- a/init-repository
+++ b/init-repository
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#############################################################################
##
## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
@@ -40,6 +40,9 @@
##
#############################################################################
+use strict;
+use warnings;
+
my $force = 0;
my $quiet = 0;
my $nokia_developer = 0;