From f26c3131fea103b313c5c35fffab1df7ecdec12c Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 24 Feb 2003 03:54:41 +0000 Subject: [PATCH] Correct the bug in 'make index' that failed to substitute back the canonical PREFIX locations for /nonexistent* --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de7fbc773c21..f3eedd920a20 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ ${.CURDIR}/${INDEXFILE}: export X11BASE=/nonexistentx; \ cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ perl ${.CURDIR}/Tools/make_index | \ - sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > ${INDEXFILE} + sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,$${LOCALBASE},/usr/local," -e "s,$${X11BASE},/usr/X11R6," > ${INDEXFILE} .if !defined(INDEX_NOSORT) @sed -e 's./..g' ${.CURDIR}/${INDEXFILE} | \ sort -t '|' +1 -2 | \