Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id RAA23368 for postgres-dist; Sun, 3 Apr 1994 17:20:58 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199404040020.RAA23368@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.149.14]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id RAA23359 for <postgres@postgres.Berkeley.EDU>; Sun, 3 Apr 1994 17:20:57 -0700
Received: from localhost (localhost [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.4/8.1B) with SMTP id RAA05009; Sun, 3 Apr 1994 17:20:55 -0700
Message-Id: <199404040020.RAA05009@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
From: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
To: postgres@postgres.Berkeley.EDU
Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki)
Subject: patch for 4.2beta
Date: Sun, 03 Apr 94 17:20:55 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-dist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Sun, 03 Apr 94 17:20:58 -0700
Resent-XMts: smtp

patch for src/regress/Makefile.global..
to make /bin/sh happy on one particular version of unix (if you 
haven't noticed a problem, you don't need it).

*** 1.15	1994/04/02 07:54:13
--- Makefile.global	1994/04/04 00:12:54
***************
*** 51,59 ****
  .SUFFIXES: .source .pq .sh
  
  .source.pq:
! 	[ -z "$$USER" ] && USER=$$LOGNAME; \
! 	[ -z "$$USER" ] && USER=`whoami`; \
! 	[ -z "$$USER" ] && exit 1; \
  	rm -f $*.pq; \
  	if [ "${.CURDIR}" = ".." ]; then \
  		C="`pwd`/"; \
--- 51,59 ----
  .SUFFIXES: .source .pq .sh
  
  .source.pq:
! 	if [ -z "$$USER" ]; then USER=$$LOGNAME; fi; \
! 	if [ -z "$$USER" ]; then USER=`whoami`; fi; \
! 	if [ -z "$$USER" ]; then exit 1; fi; \
  	rm -f $*.pq; \
  	if [ "${.CURDIR}" = ".." ]; then \
  		C="`pwd`/"; \
***************
*** 66,74 ****
  	    -e "s/_USER_/$$USER/g" < ${.CURDIR}/$*.source > $*.pq
  
  .source.sh:
! 	[ -z "$$USER" ] && USER=$$LOGNAME; \
! 	[ -z "$$USER" ] && USER=`whoami`; \
! 	[ -z "$$USER" ] && exit 1; \
  	rm -f $*.sh; \
  	if [ "${.CURDIR}" = ".." ]; then \
  		C="`pwd`/"; \
--- 66,74 ----
  	    -e "s/_USER_/$$USER/g" < ${.CURDIR}/$*.source > $*.pq
  
  .source.sh:
! 	if [ -z "$$USER" ]; then USER=$$LOGNAME; fi; \
! 	if [ -z "$$USER" ]; then USER=`whoami`; fi; \
! 	if [ -z "$$USER" ]; then exit 1; fi; \
  	rm -f $*.sh; \
  	if [ "${.CURDIR}" = ".." ]; then \
  		C="`pwd`/"; \

--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki
