From 4eeeb4a12a0c3a855361653b432b666aff3b3d93 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 1 Aug 2014 00:00:54 +0000 Subject: [PATCH] NANO_OBJ shouldn't end with a '/', so remove it here. This makes the pathnames printed not have the dreaded // which makes it hard to cut and paste into an emacs find file command... MFC After: 3 days --- tools/tools/nanobsd/nanobsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 745ea1a09b86..c3a04154c81b 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -992,7 +992,7 @@ trap nano_cleanup EXIT ####################################################################### # Setup and Export Internal variables # -test -n "${NANO_OBJ}" || NANO_OBJ=/usr/obj/nanobsd.${NANO_NAME}/ +test -n "${NANO_OBJ}" || NANO_OBJ=/usr/obj/nanobsd.${NANO_NAME} test -n "${MAKEOBJDIRPREFIX}" || MAKEOBJDIRPREFIX=${NANO_OBJ} test -n "${NANO_DISKIMGDIR}" || NANO_DISKIMGDIR=${NANO_OBJ}