git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74428e
)
make it look for only the proper lines to uncomment.
author
Herb Lewis
<herb@samba.org>
Mon, 13 Apr 1998 23:39:43 +0000
(23:39 +0000)
committer
Herb Lewis
<herb@samba.org>
Mon, 13 Apr 1998 23:39:43 +0000
(23:39 +0000)
packaging/SGI/makefile.pl
patch
|
blob
|
history
diff --git
a/packaging/SGI/makefile.pl
b/packaging/SGI/makefile.pl
index bd34299ac72dccc288c091be36e9bdb93ed079fc..d621097a2273ee96f5128fedc92ab4e8f63a67ff 100755
(executable)
--- a/
packaging/SGI/makefile.pl
+++ b/
packaging/SGI/makefile.pl
@@
-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;