commit 97e21dacb4f44769f3bf03e306d3cbe1f782a296
parent ce213d42f2a86560e3e4b091f3dab268502654f1
Author: J Pipkin <j@dawnrazor.net>
Date: Sun, 9 Sep 2012 12:45:14 -0500
fixed bug where stuff like libsigc++ wouldn\'t install
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]) {