diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-10-26 13:50:28 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-10-26 13:50:28 +0300 |
commit | f603ce9a960ee387ab10be1916da8ffd09305045 (patch) | |
tree | f0fc6929935f422b9544e9abec17e95f973045e9 /bin | |
parent | 86870912cfb1444f2ad0cd6b99c163af43f06bde (diff) | |
download | qt4-tools-f603ce9a960ee387ab10be1916da8ffd09305045.tar.gz |
Fix patch_capabilities.pl script for explicit set of capabilities
Elftran command never got executed when explicit set of capabilities
was defined. No warning or error was printed either, making it rather
confusing for user.
Task-number: QTBUG-14730
Reviewed-by: Janne Koskinen
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/patch_capabilities.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/patch_capabilities.pl b/bin/patch_capabilities.pl index 06ab116623..5230480418 100755 --- a/bin/patch_capabilities.pl +++ b/bin/patch_capabilities.pl @@ -269,6 +269,9 @@ if (@ARGV) if (@capabilitiesSpecified) { $commandToExecute = sprintf($baseCommandToExecute, join(" ", @capabilitiesSpecified)); + $executeNeeded = 1; + my $capString = join(" ", @capabilitiesSpecified); + print ("Patching: Patching the the Vendor ID to 0 and the capabilities used to: \"$capString\" in \"$binaryBaseName\".\n"); } else { # Test which capabilities are present and then restrict them to the allowed set. # This avoid raising the capabilities of apps that already have none. |