summaryrefslogtreecommitdiffstats
path: root/src/mac
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-07-30 16:15:29 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-07-30 16:15:29 +0000
commit4936fe32cb992011409ffbaf356333fdb64d6ab7 (patch)
tree1f96146623cff6a3465244543c96ffcdcb69eee8 /src/mac
parent04ce641a8f10e31ccbf61eb5eaa3008c715c0589 (diff)
downloadkrb5-4936fe32cb992011409ffbaf356333fdb64d6ab7.tar.gz
krb5-4936fe32cb992011409ffbaf356333fdb64d6ab7.tar.xz
krb5-4936fe32cb992011409ffbaf356333fdb64d6ab7.zip
Fixed to punt "# TEMPLATE BEGINS HERE"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10762 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac')
-rw-r--r--src/mac/Templatify.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mac/Templatify.pl b/src/mac/Templatify.pl
index 3a76f4ef3..0749fadeb 100644
--- a/src/mac/Templatify.pl
+++ b/src/mac/Templatify.pl
@@ -1,3 +1,5 @@
#!/usr/local/bin/perl -w
-while (<STDIN>) { last if /^# TEMPLATE BEGINS HERE$/ }
-do { y#\245:\304\266#\*/:\\#; print } while (<STDIN>);
+$_=<STDIN>;
+$_=<STDIN> while $_!~/^#\s*TEMPLATE BEGINS HERE\s*$/;
+$_=<STDIN> while /^# *TEMPLATE BEGINS HERE\s*$/;
+while (<STDIN>) { y#\245:\304\266#\*/:\\#; print; }