[Libreoffice-commits] .: solenv/bin

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Aug 1 09:46:00 PDT 2012


 solenv/bin/modules/macosxotoolhelper.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13dc61da882e1e5800665f027894d1885c42def7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Aug 1 18:43:17 2012 +0200

    Proper quoting
    
    Change-Id: Ib619ffc06d580acb5dc5f21ad6d0a439569bee2a

diff --git a/solenv/bin/modules/macosxotoolhelper.pm b/solenv/bin/modules/macosxotoolhelper.pm
index 96ad8b2..1a64447 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";


More information about the Libreoffice-commits mailing list