pkgsrc/devel/noweb/patches/patch-ai
2006-05-23 16:07:04 +00:00

13 lines
469 B
Text

$NetBSD: patch-ai,v 1.1 2006/05/23 16:07:04 joerg Exp $
--- awk/totex.nw.orig 1996-05-31 21:04:15.000000000 +0200
+++ awk/totex.nw
@@ -24,7 +24,7 @@ nawk '<<awk program for conversion to {\
@
On an ugly system, we have to put it in a file.
<<invoke awk program using file>>=
-awkfile=/tmp/totex$$.awk
+awkfile=$(@MKTEMP@ -t totex) || exit 1
trap 'rm -f $awkfile; exit 1' 0 1 2 15 # clean up files
cat > $awkfile << 'EOF'
<<awk program for conversion to {\TeX}>>