From ad43a7219c66f355f184238b4367610164cace2c Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 22 Dec 1997 05:56:43 +0000
Subject: [PATCH] Fix for test 0 error.

---
 src/GNUmakefile.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/GNUmakefile.in b/src/GNUmakefile.in
index 06ee2deb7d6..6407034d0be 100644
--- a/src/GNUmakefile.in
+++ b/src/GNUmakefile.in
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.20 1997/12/02 03:19:42 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.21 1997/12/22 05:56:43 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -24,7 +24,7 @@ ETAGS = @etags@
 XARGS = @xargs@
 
 all:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 	  echo You must set the PORTNAME value in Makefile.global before \
 	       you can build Postgres. ;\
 	  false ;\
@@ -51,7 +51,7 @@ endif
         fi
 
 install:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 		echo You must set the PORTNAME value in Makefile.global before \
 			you can build Postgres. ;\
 		false ;\
@@ -68,7 +68,7 @@ endif
 	cat ../register.txt
 
 clean:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 		echo You must set the PORTNAME value in Makefile.global before \
 			you can build Postgres. ;\
 		false ;\
@@ -101,7 +101,7 @@ distclean: clean
 
 
 .DEFAULT:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 	  echo You must set the PORTNAME value in Makefile.global before \
 	       you can build Postgres. ;\
 	  false ;\
-- 
GitLab