summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorthomas <thomas@FreeBSD.org>2004-05-28 21:16:14 +0000
committerthomas <thomas@FreeBSD.org>2004-05-28 21:16:14 +0000
commit32fb9597f44c3f54e8a2e435ae6f440bf5ac33d7 (patch)
tree7fc155f0f04360335715fa9562dae4600dd82f40 /tools
parentc788ceacac869cc7a840dfcf56e467cafa8e8a5c (diff)
downloadFreeBSD-src-32fb9597f44c3f54e8a2e435ae6f440bf5ac33d7.zip
FreeBSD-src-32fb9597f44c3f54e8a2e435ae6f440bf5ac33d7.tar.gz
Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself,
assuming in the latter case that it is an absolute path name.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/nanobsd/Makefile b/tools/tools/nanobsd/Makefile
index 371b352..444f8f7 100644
--- a/tools/tools/nanobsd/Makefile
+++ b/tools/tools/nanobsd/Makefile
@@ -31,7 +31,7 @@ WD?= ${.OBJDIR}/_.w
#
# The final resulting image is in ${.OBJDIR}/_.i and the single slice
# image in ${.OBJDIR}/_.i.s1
-
+#
# Main target
all: buildworld installworld buildimage
@@ -48,10 +48,10 @@ _.cs: _.iw _.di _.ik _.di
sed -i "" -e /beastie/d ${WD}/boot/loader.rc
sed -i "" -e /ttyd0/s/off/on/ ${WD}/etc/ttys
echo " -h" > ${WD}/boot.config
-.elif exists(${CUSTOMIZE})
- sh -e ${CUSTOMIZE} ${WD} ${WORLDDIR} ${.CURDIR}
.elif exists(${.CURDIR}/${CUSTOMIZE})
sh -e ${.CURDIR}/${CUSTOMIZE} ${WD} ${WORLDDIR} ${.CURDIR}
+.elif exists(${CUSTOMIZE})
+ sh -e ${CUSTOMIZE} ${WD} ${WORLDDIR} ${.CURDIR}
.else
echo "CUSTOMIZE script not found" 1>&2
false
OpenPOWER on IntegriCloud