diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-31 12:33:24 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-31 12:33:24 (GMT) |
commit | 5fb6cdfd1cbdfa39c1a73e0549a1a7932179ab79 (patch) | |
tree | 7ffc999d78f1404a59bc1713caf80b3bd38b3410 /bin | |
parent | a44892b71d1b08cdd03c990dff50d8138bd4457c (diff) | |
download | Qt-5fb6cdfd1cbdfa39c1a73e0549a1a7932179ab79.zip Qt-5fb6cdfd1cbdfa39c1a73e0549a1a7932179ab79.tar.gz Qt-5fb6cdfd1cbdfa39c1a73e0549a1a7932179ab79.tar.bz2 |
Trivial fixes for trailing spaces etc
Reviewed-by: TrustMe
Diffstat (limited to 'bin')
-rw-r--r-- | bin/patch_capabilities.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/patch_capabilities.pl b/bin/patch_capabilities.pl index 005d587..ca80891 100644 --- a/bin/patch_capabilities.pl +++ b/bin/patch_capabilities.pl @@ -13,7 +13,7 @@ sub Usage() { print("If no capabilities are given, the binaries will be given the\n"); print("capabilities supported by self-signed certificates.\n"); print("\nUsage: patch_capabilities.pl pkg_filename [target-platform] [capability list]\n"); - print(" If template .pkg file is given, next agrument must be 'target-platform'.\n"); + print(" If template .pkg file is given, next agrument must be 'target-platform'.\n"); print("\nE.g. patch_capabilities.pl myapp_template.pkg release-armv5 \"All -TCB\"\n"); exit(); } @@ -27,15 +27,15 @@ if (@ARGV) my $pkgFileName = shift(@ARGV); # Check if using template .pkg and do preprocessing if needed - if (($pkgFileName =~ m|_template\.pkg$|i) && -r($pkgFileName)) + if (($pkgFileName =~ m|_template\.pkg$|i) && -r($pkgFileName)) { my $target; - unless ($target = shift(@ARGV)) + unless ($target = shift(@ARGV)) { Usage(); } - - system ("createpackage.bat -p ".$pkgFileName." ".$target); + + system ("createpackage.bat -p ".$pkgFileName." ".$target); $pkgFileName =~ s/_template\.pkg/_${target}\.pkg/; } |