diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-07-03 16:38:59 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-07-03 16:38:59 +0000 |
commit | 7c29f388aae7df06f0ce9937f6ee2346c743c4da (patch) | |
tree | d9d77ca8b21aa8ee9d36b0e631d15e3c18f5e5ce /mk/bsd.pkg.mk | |
parent | 011a3a40510e0ee6a77519f97a7d7216f94f5b84 (diff) | |
download | pkgsrc-7c29f388aae7df06f0ce9937f6ee2346c743c4da.tar.gz |
Fix last commit to (also) work with disk layout different from the ftp site.
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 af19c276fe9..b7eb25a9b2b 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.291 1999/07/02 18:04:53 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.292 1999/07/03 16:38:59 hubertf Exp $ # # This file is in the public domain. # @@ -1894,7 +1894,7 @@ binpkg-list: for pkg in ${PKGREPOSITORYSUBDIR}/${PKGNAME:C/-[^-]*$/-[0-9]*/}${PKG_SUFX} ; \ do \ if [ -f "$$pkg" ] ; then \ - ${ECHO} "<TR><TD> ${MACHINE_ARCH}: <TD><a href=\"${PKG_URL}/$pkg\"> <TD>(${OPSYS} ${OS_VERSION}) </a>)"; \ + ${ECHO} "<TR><TD> ${MACHINE_ARCH}: <TD><a href=\"${PKG_URL}/$$pkg\"> <TD>(${OPSYS} ${OS_VERSION}) </a>)"; \ fi ; \ done ; \ ;; \ @@ -1902,15 +1902,15 @@ binpkg-list: cd ${PACKAGES}/../..; \ for i in [1-9].*/*; do ( \ d=$$i/${PKGREPOSITORYSUBDIR} ; \ - if [ -d "$d ]; then \ - cd "$d" ; \ + if [ -d "$$d" ]; then \ + cd "$$d" ; \ for j in ${PKGNAME:C/-[^-]*$/-[0-9]*/}${PKG_SUFX} ; \ do \ if [ -f "$$j" ] ; then \ ${ECHO} $$i/$$j; \ fi ; \ - done ) ; \ - fi ; \ + done ; \ + fi ) ; \ done | ${AWK} -F/ ' \ { \ release = $$1; \ |