aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
commit22289a8c3d45efcf5671750a0ceffb1296455bab (patch)
tree94fe5f475bf0dead0e972df66b3e4cad0afd6746 /sbin/fsdb
parentcaf42d812634461f3196797f55f320c03c49b019 (diff)
downloadsrc-22289a8c3d45efcf5671750a0ceffb1296455bab.tar.gz
src-22289a8c3d45efcf5671750a0ceffb1296455bab.zip
sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314656
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index 729f9cde2d35..a3e7545c7c5a 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@ -8,9 +8,9 @@ MAN= fsdb.8
SRCS= fsdb.c fsdbutil.c \
dir.c ea.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c globs.c
-CFLAGS+= -I${.CURDIR}/../fsck_ffs
+CFLAGS+= -I${.CURDIR:H}/fsck_ffs
WARNS?= 2
LIBADD= edit
-.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
+.PATH: ${.CURDIR:H}/fsck_ffs ${SRCTOP}/sys/ufs/ffs
.include <bsd.prog.mk>