summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 228125d..64def18 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -10,7 +10,11 @@ TCSHDIR= ${.CURDIR}/../../contrib/tcsh
.PATH: ${TCSHDIR}
PROG= csh
+.if defined(RESCUE)
+DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"'
+.else
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
+.endif
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
WARNS= 2
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
OpenPOWER on IntegriCloud