summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-06-29 18:46:18 +0000
committergordon <gordon@FreeBSD.org>2003-06-29 18:46:18 +0000
commit6b7019d5ed2baad877e25d3e76a4ebcfd3160c88 (patch)
tree678d9e132073a3aaa1eac91dbcb82922f5f227c2 /bin/csh
parent9beb6458f555f771d27552db74510cbe89a6ea38 (diff)
downloadFreeBSD-src-6b7019d5ed2baad877e25d3e76a4ebcfd3160c88.zip
FreeBSD-src-6b7019d5ed2baad877e25d3e76a4ebcfd3160c88.tar.gz
Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes. Submitted by: Tim Kientzle <kientzle@acm.org>
Diffstat (limited to 'bin/csh')
-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