aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorronaldxs <ronaldxs@software-path.com>2012-07-02 11:27:40 -0300
committerronaldxs <ronaldxs@software-path.com>2012-07-02 11:27:40 -0300
commit8fb57acf805b43099a950d6c022a3fb5dbe885ba (patch)
tree4086523815bd4d469c53ca4d691bdd9d95be9051
parent5138e0888babd75f24df94d4cc70276318e91490 (diff)
I think this is why URI is seg faulting. I have not fully tested this with respect to its overall effect on rakudo star but it seems safe and appropriate enough. I think similar changes were made not long ago to ufo and maybe panda.
-rw-r--r--skel/tools/build/module-install.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/tools/build/module-install.pl b/skel/tools/build/module-install.pl
index 7fa4fbe..8cbc20b 100644
--- a/skel/tools/build/module-install.pl
+++ b/skel/tools/build/module-install.pl
@@ -41,7 +41,7 @@ while (@ARGV) {
$module_to_path{$module} = $module_file;
$usages_of{$module} = [];
while (<$fh>) {
- if (/^\s* use \s+ (\w+ (?: :: \w+)*)/x and my $used = $1) {
+ if (/^\s* (?:use|need) \s+ (\w+ (?: :: \w+)*)/x and my $used = $1) {
next if $used eq 'v6';
next if $used eq 'MONKEY_TYPING';