summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-07-14 08:39:46 +0200
committeraxis <qt-info@nokia.com>2010-07-15 09:34:28 +0200
commit12b6275a21076df582e80c422b31560d8ee995d0 (patch)
tree1dca329bc6f205a8d813993a1c1a3ea59f84ae5c /bin
parentdcfa4125625c028165c424b5d95cb0795194d6f2 (diff)
downloadqt4-tools-12b6275a21076df582e80c422b31560d8ee995d0.tar.gz
Allow commenting of individual files in generated pkg files.
RevBy: Jason Barron
Diffstat (limited to 'bin')
-rwxr-xr-xbin/patch_capabilities.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/patch_capabilities.pl b/bin/patch_capabilities.pl
index 501939afc2..7d6f5dc163 100755
--- a/bin/patch_capabilities.pl
+++ b/bin/patch_capabilities.pl
@@ -186,7 +186,7 @@ if (@ARGV)
}
# If the line specifies a file, parse the source and destination locations.
- if ($line =~ m|\"([^\"]+)\"\s*\-\s*\"([^\"]+)\"|)
+ if ($line =~ m|^ *\"([^\"]+)\"\s*\-\s*\"([^\"]+)\"|)
{
my $sourcePath = $1;