diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-14 15:16:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-14 15:16:31 +0000 |
commit | e694fd214da4a16c381f1e21e3904730ddfd6509 (patch) | |
tree | ecb25d2b4023ee79e821c5d78342d6f6f4c6b1ee /mk/bsd.pkg.mk | |
parent | 09dda46dcf90460b00b44366eee394d2af0786ba (diff) | |
download | pkgsrc-e694fd214da4a16c381f1e21e3904730ddfd6509.tar.gz |
Change into ${WRKSRC} first so that shell globs expand properly.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index a21c8536d13..60aa213a385 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1401 2004/02/14 13:58:34 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1402 2004/02/14 15:16:31 jlam Exp $ # # This file is in the public domain. # @@ -2451,15 +2451,15 @@ _CONFIGURE_POSTREQ+= do-config-status-override .PHONY: do-config-status-override do-config-status-override: . for _pattern_ in ${CONFIG_STATUS_OVERRIDE} - ${_PKG_SILENT}${_PKG_DEBUG} \ + ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \ for file in ${_pattern_}; do \ - if [ -f "${WRKSRC}/$$file" ]; then \ - ${RM} -f ${WRKSRC}/$$file; \ + if [ -f "$$file" ]; then \ + ${RM} -f $$file; \ (${ECHO} '#!${SH}'; \ ${ECHO} '${ECHO} "$$0 $$@" >> ${WRKLOG}'; \ ${ECHO} 'exit 0'; \ - ) > ${WRKSRC}/$$file; \ - ${CHMOD} +x ${WRKSRC}/$$file; \ + ) > $$file; \ + ${CHMOD} +x $$file; \ fi; \ done . endfor |