Subject: patch for 4.2beta

From: [email-masked] (Paul M. Aoki)
Date: Sun, 03 Apr 94 17:20:55 -0700

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  |  [email-masked]
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki