1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

make it look for only the proper lines to uncomment.

(This used to be commit c963ec8cc4bd311023ca4ad00ded4502989b7faa)
This commit is contained in:
Herb Lewis 1998-04-13 23:39:43 +00:00
parent 3f5d0ae6b2
commit 49ce0cab3c

View File

@ -23,14 +23,14 @@ while (<MAKEIN>) {
}
elsif (/^# FOR SGI IRIX $OSver/) {
print MAKEOUT;
$a = <MAKEIN>;
print MAKEOUT $a;
($a = <MAKEIN>) =~ s/^# //;
print MAKEOUT $a;
($a = <MAKEIN>) =~ s/^# //;
print MAKEOUT $a;
($a = <MAKEIN>) =~ s/^# //;
print MAKEOUT $a;
while (<MAKEIN>) {
last if ($_ eq "\n");
if (/^# (FLAGSM|LIBSM|FLAGS1)/) {
s/^# //;
}
print MAKEOUT;
}
print MAKEOUT;
}
else {
print MAKEOUT;