]> granicus.if.org Git - postgresql/commitdiff
unbreak ECPG tests for VPATH builds.
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 23 Aug 2007 00:38:17 +0000 (00:38 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 23 Aug 2007 00:38:17 +0000 (00:38 +0000)
src/interfaces/ecpg/test/connect/Makefile

index 1ca1cddadf7fb06ce1b63478940547e1e90e2863..7df06cfd2b5c79de47e2c842f08a756a63ba0a54 100644 (file)
@@ -11,7 +11,7 @@ test1.pgc: test1.pgc.in
        sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
          $< >$@
        sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
-         ../expected/connect-test1.c.in >../expected/connect-test1.c
+         $(top_srcdir)/$(subdir)/../expected/connect-test1.c.in >../expected/connect-test1.c
 
 TESTS = test1 test1.c \
         test2 test2.c \