diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dependencies | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/dependencies b/bin/dependencies index 0575b45..166e6e7 100755 --- a/bin/dependencies +++ b/bin/dependencies @@ -21,12 +21,15 @@ my $top_builddir; while ($_ = shift @ARGV) { if (/^--srcdir=([^ \t\n]*)/) { $srcdir = $1; + $srcdir =~ s/\+/\\\+/g; $srcdir =~ s/\./\\\./g; } elsif (/^--top_srcdir=([^ \t\n]*)/) { $top_srcdir = $1; + $top_srcdir =~ s/\+/\\\+/g; $top_srcdir =~ s/\./\\\./g; } elsif (/^--top_builddir=([^ \t\n]*)/) { $top_builddir = $1; + $top_builddir =~ s/\+/\\\+/g; $top_builddir =~ s/\./\\\./g; } else { $depend_file = $_; |