summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-31 15:33:24 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-31 15:33:24 +0300
commit5fb6cdfd1cbdfa39c1a73e0549a1a7932179ab79 (patch)
tree7ffc999d78f1404a59bc1713caf80b3bd38b3410 /bin
parenta44892b71d1b08cdd03c990dff50d8138bd4457c (diff)
Trivial fixes for trailing spaces etc
Reviewed-by: TrustMe
Diffstat (limited to 'bin')
-rw-r--r--bin/patch_capabilities.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/patch_capabilities.pl b/bin/patch_capabilities.pl
index 005d5874a3..ca80891a80 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/;
}