summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-06-29 18:46:18 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-06-29 18:46:18 +0000
commit6d1b4a47305811eb613e6c70b39f59620bf1e7b1 (patch)
tree678d9e132073a3aaa1eac91dbcb82922f5f227c2 /bin
parent884c25d15a315711e0a9dc1efbbf42829746cf09 (diff)
Notes
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 228125df409b..64def186505f 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 \