diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-12-14 10:45:15 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-12-14 10:45:15 +0000 |
commit | db06d574c86d782d08eabea6c4595b72792fb946 (patch) | |
tree | 6a3a0c35cdab5f2f5354e88b0bd75cf330ef1be2 /lib/sbin/MakeUtils.pl | |
parent | 02185fd891763c6ef7a2a2518d210dbe2f5da171 (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.pl | 1 |
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+/) |