diff options
author | gordon <gordon@FreeBSD.org> | 2003-06-29 18:46:18 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-06-29 18:46:18 +0000 |
commit | 6b7019d5ed2baad877e25d3e76a4ebcfd3160c88 (patch) | |
tree | 678d9e132073a3aaa1eac91dbcb82922f5f227c2 /bin | |
parent | 9beb6458f555f771d27552db74510cbe89a6ea38 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | bin/csh/Makefile | 4 |
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 \ |