From 4ab44e684669f8914664ae84796e924e1eedc79f Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Thu, 29 Mar 2001 22:48:09 +0000 Subject: make WRKDIR safe (fix broken on bento) --- shells/wapsh/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shells/wapsh/Makefile b/shells/wapsh/Makefile index dcee040ca770..12529c5a502d 100644 --- a/shells/wapsh/Makefile +++ b/shells/wapsh/Makefile @@ -41,8 +41,8 @@ HTDOCS= command.php command_html.inc command_wml.inc \ shortcuts_wml.php post-patch: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > foo && \ - ${MV} foo ${WRKSRC}/htshd/htshd.c + @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/htshd/htshd.c > ${WRKDIR}/foo && \ + ${MV} ${WRKDIR}/foo ${WRKSRC}/htshd/htshd.c do-build: (cd ${WRKSRC}/htshd && ${CC} ${CFLAGS} -o htshd htshd.c -lcrypt \ -- cgit v1.2.3