Commit 917abdd1 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add substitution from output/.. to input/.. to match templates from inputs.

parent 50f058e2
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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) ...@@ -32,8 +32,9 @@ all: $(INFILES)
rm -f $@; \ rm -f $@; \
PWD=`pwd`; \ PWD=`pwd`; \
OBJ=`pwd`; \ OBJ=`pwd`; \
sed -e "s:_CWD_:$(PWD):g" \ sed -e "s:_CWD_:$$PWD:g" \
-e "s:_OBJWD_:$$OBJ/\.\.:g" \ -e "s:_OBJWD_:$$OBJ/\.\.:g" \
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" \ -e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
-e "s/_USER_/$$USER/g" < $< > ../expected/$@ -e "s/_USER_/$$USER/g" < $< | \
sed -e "s:output/\.\.:input/\.\.:g" > ../expected/$@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment