avoid tmp file during construction of pkgIndex.tcl
authorellson <devnull@localhost>
Mon, 22 May 2006 17:21:05 +0000 (17:21 +0000)
committerellson <devnull@localhost>
Mon, 22 May 2006 17:21:05 +0000 (17:21 +0000)
tclpkg/Makefile.am

index 1ff3cba683d59076fcfe9e145d85b13d78d88e1c..a254fe43356be65da82db59aa9f41463b4f775c9 100644 (file)
@@ -7,9 +7,7 @@ pkgindex_DATA = pkgIndex.tcl
 SUBDIRS = tclstubs tkstubs tclhandle gdtclft tcldot tclpathplan tkspline gv
 
 pkgIndex.tcl: @TCL_PKGINDEX@ @TK_PKGINDEX@
-       echo "# end" >end
-       cat @TCL_PKGINDEX@ @TK_PKGINDEX@ end >$@
-       rm -f end
+       (cat @TCL_PKGINDEX@ @TK_PKGINDEX@ ; echo "# end") >$@
 
 EXTRA_DIST = Makefile.old mkpkgindex.sh