20 lines
587 B
Plaintext
20 lines
587 B
Plaintext
$NetBSD: patch-ak,v 1.2 2008/03/08 13:02:40 tnn Exp $
|
|
|
|
--- contrib/jobling/correct-refs.nw.orig 1995-05-24 20:12:48.000000000 +0200
|
|
+++ contrib/jobling/correct-refs.nw
|
|
@@ -332,11 +332,12 @@ gawk -f $LIB/awk-scripts.awk anchor-list
|
|
echo Processing HTML nodes
|
|
foreach f (*.awk)
|
|
set root=$f:r
|
|
+ set tmpfile=`@MKTEMP@ -t noweb` || exit 1
|
|
echo -n Processing $root.html
|
|
- gawk -f $f < $root.html >! /tmp/$root.html
|
|
+ gawk -f $f < $root.html >! $tmpfile
|
|
echo "..." Done
|
|
cp $root.html $root.html.bak
|
|
- cp /tmp/$root.html $root.html
|
|
+ cp $tmpfile $root.html
|
|
end
|
|
|
|
@
|