aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2012-09-09 12:45:14 -0500
committerJ Pipkin <j@dawnrazor.net>2012-09-09 12:45:14 -0500
commit97e21dacb4f44769f3bf03e306d3cbe1f782a296 (patch)
tree74049a8a1f19421be051d469a94b992c4075d2eb /SBO-Lib/lib/SBO/Lib.pm
parentce213d42f2a86560e3e4b091f3dab268502654f1 (diff)
downloadsbotools2-97e21dacb4f44769f3bf03e306d3cbe1f782a296.tar.xz
fixed bug where stuff like libsigc++ wouldn\'t install
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm2
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]) {