summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2000-11-08 01:07:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2000-11-08 01:07:51 +0000
commitdbcea870630e6e6cedc6937d33da4e2e4c6d5390 (patch)
treea059a45f4b239ebf8d74aee385eae05f98dad530
parent89ef41a7848612af76b477b9018d178e38edb415 (diff)
- (bal) fixpaths fixed to stop it from quitely failing. Patch by
Mark D. Roth <roth@feep.net>
-rw-r--r--ChangeLog5
-rwxr-xr-xfixpaths15
2 files changed, 11 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 89da6a5cc..3ab6086da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
120001107 120001107
2 - (bal) acconfig.in - removed the double "USE_PIPES" entry. 2 - (bal) acconfig.in - removed the double "USE_PIPES" entry. Patch by
3 Mark Miller <markm@swoon.net>
3 - (bal) sshd.init files corrected to assign $? to RETVAL. Patch by 4 - (bal) sshd.init files corrected to assign $? to RETVAL. Patch by
4 Jarno Huuskonen <jhuuskon@messi.uku.fi> 5 Jarno Huuskonen <jhuuskon@messi.uku.fi>
6 - (bal) fixpaths fixed to stop it from quitely failing. Patch by
7 Mark D. Roth <roth@feep.net>
5 8
620001106 920001106
7 - (djm) Use Jim's new 1.0.3 askpass in Redhat RPMs 10 - (djm) Use Jim's new 1.0.3 askpass in Redhat RPMs
diff --git a/fixpaths b/fixpaths
index 4badd9886..edd9e486f 100755
--- a/fixpaths
+++ b/fixpaths
@@ -37,14 +37,13 @@ for $f (@ARGV) {
37 $of = $2.".$ext"; 37 $of = $2.".$ext";
38 38
39 open(IN, "<$f") || die ("$0: input file $f missing!\n"); 39 open(IN, "<$f") || die ("$0: input file $f missing!\n");
40 if (open(OUT, ">$of")) { 40 open(OUT, ">$of") || die ("$0: cannot create output file $of: $!\n");
41 while (<IN>) { 41 while (<IN>) {
42 for $s (keys(%def)) { 42 for $s (keys(%def)) {
43 s#$s#$def{$s}#; 43 s#$s#$def{$s}#;
44 } # for $s 44 } # for $s
45 print OUT; 45 print OUT;
46 } # while <IN> 46 } # while <IN>
47 } # if (outfile open)
48} # for $f 47} # for $f
49 48
50exit 0; 49exit 0;