From ca7c7667dfe86248748954f9247748bc4a4b0eb9 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 22 May 2006 17:21:05 +0000 Subject: [PATCH] avoid tmp file during construction of pkgIndex.tcl --- tclpkg/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tclpkg/Makefile.am b/tclpkg/Makefile.am index 1ff3cba68..a254fe433 100644 --- a/tclpkg/Makefile.am +++ b/tclpkg/Makefile.am @@ -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 -- 2.40.0