From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078613510179.tru64-unix-managers.marc@archive.invalid> From: "Brian H. Mayo" Date: Tue, 03 Jun 1997 15:52:28 +0000 To: tru64-unix-managers Subject: Makefile for NIS databases X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078613510179 I am attempting to setup an NIS master server and would like to build the NIS databases. I am following instructions and executing the Makefile in the /var/yp directory but it keeps getting script errors as follows: ./Makefile: DIR: command not found ./Makefile: YPDIR: command not found ./Makefile: YPDIR: command not found ./Makefile: YPDIR: command not found ./Makefile: YPDIR: command not found ./Makefile: all:: command not found ./Makefile: YPDBDIR: command not found ./Makefile: DOM: command not found ./Makefile: DIR: command not found ./Makefile: //passwd.time:: No such file or directory ./Makefile: syntax error near unexpected token `then' ./Makefile: ./Makefile: line 57: ` -@if [ -f $(DIR)/passwd ]; then \' These errors are when I run the script with the bash shell. I get different errors when running the script with sh, csh, ksh, tcsh. Could someone please tell me what shell should be used for running this script. Thank you in advance. **************************************************** | Brian H. Mayo | UNIX Systems Administrator | | Computing Services | BRYN MAWR COLLEGE | |++++++++++++++++++++++++++++++++++++++++++++++++++| | brian.mayo@brynmawr.edu | | Guild Hall | t:(610) 526-7443 | f:(610) 526-7432 | | 101 North Merion Road | Bryn Mawr, Pa 19010 | ****************************************************