summaryrefslogtreecommitdiff
path: root/lib/sbin/MakeUtils.pl
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-14 10:45:15 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-12-14 10:45:15 +0000
commitdb06d574c86d782d08eabea6c4595b72792fb946 (patch)
tree6a3a0c35cdab5f2f5354e88b0bd75cf330ef1be2 /lib/sbin/MakeUtils.pl
parent02185fd891763c6ef7a2a2518d210dbe2f5da171 (diff)
Don't include lines beginning with a "!" when reading the thorn list
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2505 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/MakeUtils.pl')
-rw-r--r--lib/sbin/MakeUtils.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sbin/MakeUtils.pl b/lib/sbin/MakeUtils.pl
index b306ebbb..6ac35c25 100644
--- a/lib/sbin/MakeUtils.pl
+++ b/lib/sbin/MakeUtils.pl
@@ -233,6 +233,7 @@ sub ReadThornlist
while (<TL>)
{
+ next if m:^!.*:;
s/(.*?)#.*/\1/; # read up to the first "#"
s/\s+//g; # replace any spaces with nothing
if (/\w+/)