summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-01 18:43:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-01 18:45:48 +0200
commit13dc61da882e1e5800665f027894d1885c42def7 (patch)
tree6f04f6e68c3e0674d21fd8057496a4b13e0151ba /solenv
parent791071825969a40a454ed2b9806ec8b5c3b08fe9 (diff)
Proper quoting
Change-Id: Ib619ffc06d580acb5dc5f21ad6d0a439569bee2a
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/macosxotoolhelper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/macosxotoolhelper.pm b/solenv/bin/modules/macosxotoolhelper.pm
index 96ad8b2ed6f4..1a64447c78f7 100644
--- a/solenv/bin/modules/macosxotoolhelper.pm
+++ b/solenv/bin/modules/macosxotoolhelper.pm
@@ -35,7 +35,7 @@ sub otoolD($) {
my $call = "otool -D $file";
open(IN, "-|", $call) or die "cannot $call";
my $line = <IN>;
- $line =~ /^$file:\n$/ or
+ $line =~ /^\Q$file\E:\n$/ or
die "unexpected otool -D output (\"$line\", expecting \"$file:\")";
$line = <IN>;
<IN> == undef or die "unexpected otool -D output";