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

make it look for only the proper lines to uncomment.

This commit is contained in:
Herb Lewis -
parent e74428e428
commit c963ec8cc4

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;