diff options
author | J Pipkin <j@dawnrazor.net> | 2012-09-09 12:45:14 -0500 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2012-09-09 12:45:14 -0500 |
commit | 97e21dacb4f44769f3bf03e306d3cbe1f782a296 (patch) | |
tree | 74049a8a1f19421be051d469a94b992c4075d2eb /SBO-Lib/lib | |
parent | ce213d42f2a86560e3e4b091f3dab268502654f1 (diff) | |
download | sbotools2-97e21dacb4f44769f3bf03e306d3cbe1f782a296.tar.xz |
fixed bug where stuff like libsigc++ wouldn\'t install
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 85365ca..cd78e1e 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -208,7 +208,7 @@ sub get_installed_sbos () { sub get_sbo_location ($) { exists $_[0] or script_error 'get_sbo_location requires an argument.'; my $sbo = shift; - my $regex = qr#LOCATION:\s+\.(/[^/]+/$sbo)$#; + my $regex = qr#LOCATION:\s+\.(/[^/]+/\Q$sbo\E)$#; my $fh = open_read $slackbuilds_txt; while (my $line = <$fh>) { if (my $loc = ($line =~ $regex)[0]) { |