summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-07-14 06:39:46 (GMT)
committeraxis <qt-info@nokia.com>2010-07-15 07:34:28 (GMT)
commit12b6275a21076df582e80c422b31560d8ee995d0 (patch)
tree1dca329bc6f205a8d813993a1c1a3ea59f84ae5c /bin
parentdcfa4125625c028165c424b5d95cb0795194d6f2 (diff)
downloadQt-12b6275a21076df582e80c422b31560d8ee995d0.zip
Qt-12b6275a21076df582e80c422b31560d8ee995d0.tar.gz
Qt-12b6275a21076df582e80c422b31560d8ee995d0.tar.bz2
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 501939a..7d6f5dc 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;