From 917abdd140de6ee39c96207a63453eb38be14a6e Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Fri, 2 May 1997 13:43:14 +0000
Subject: [PATCH] Add substitution from output/.. to input/.. to match
 templates from inputs.

---
 src/test/regress/output/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/test/regress/output/Makefile b/src/test/regress/output/Makefile
index 4674d416680..fb8d587381b 100644
--- a/src/test/regress/output/Makefile
+++ b/src/test/regress/output/Makefile
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/test/regress/output/Attic/Makefile,v 1.5 1997/04/27 19:28:20 thomas Exp $
+#    $Header: /cvsroot/pgsql/src/test/regress/output/Attic/Makefile,v 1.6 1997/05/02 13:43:14 thomas Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -32,8 +32,9 @@ all: $(INFILES)
 	rm -f $@; \
 	PWD=`pwd`; \
 	OBJ=`pwd`; \
-	sed -e "s:_CWD_:$(PWD):g" \
+	sed -e "s:_CWD_:$$PWD:g" \
 	    -e "s:_OBJWD_:$$OBJ/\.\.:g" \
 	    -e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
-	    -e "s/_USER_/$$USER/g" < $< > ../expected/$@
+	    -e "s/_USER_/$$USER/g" < $< | \
+	sed -e "s:output/\.\.:input/\.\.:g" > ../expected/$@
 
-- 
GitLab