[comp.soft-sys.andrew] Master Imakefile for Andrew gives Bourne shell indigestion

guy@auspex.auspex.com (Guy Harris) (11/25/89)

I don't know whether this is a bug in the Bourne shell or just an
implementation quirk of some Bourne shells that the Imakefile improperly
depended on, but the SunOS 4.x Bourne shell doesn't like the Makefile
generated from the top-level Imakefile for Andrew.  Apparently, the
blank lines in the command give it indigestion; removing them seems to
clear the problem up.

*** Imakefile.dist	Wed Nov 15 17:13:23 1989
--- Imakefile	Fri Nov 17 10:52:46 1989
***************
*** 43,59 ****
  depend::
  	@echo 'Checking that BASEDIR is not the location of the source files.'
  	@sh -c '(if [ "$(BASEDIR)" = "`pwd`" ]; then \
- \
  		echo "%% BASEDIR must be different from the location of the source files."; \
- \
  		echo "%% Currently, they are both $(BASEDIR) ."; \
- \
  		echo "%% This must be fixed before proceeding with installation."; \
- \
  		echo "%% (You may wish to move the source files to $(BASEDIR)/src .)"; \
- \
  		exit 1; \
- \
  	fi; exit 0)'
  
  
--- 43,53 ----