aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xTools/scripts/mark_safe.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/mark_safe.pl b/Tools/scripts/mark_safe.pl
index 134f5596dc59..fa0b4ebfeb98 100755
--- a/Tools/scripts/mark_safe.pl
+++ b/Tools/scripts/mark_safe.pl
@@ -177,6 +177,8 @@ sub ports_get {
close $fh or die "Can't close [$index] b/c [$!]";
}
+ @ports = grep { !/^rubygem-// } @ports;
+
return \@ports;
}