diff options
author | taca <taca@pkgsrc.org> | 2006-03-11 10:41:03 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-03-11 10:41:03 +0000 |
commit | 74095ad51135081c51a853d3b876169a709b84ad (patch) | |
tree | 64964c0ead57d0d453890137aea52df01e7bbf89 /www | |
parent | 1aa1fc5d41d99327271ed23e4579be63dc6bdfa6 (diff) | |
download | pkgsrc-74095ad51135081c51a853d3b876169a709b84ad.tar.gz |
Fix and style improvement for shell script part of post-install.
Diffstat (limited to 'www')
-rw-r--r-- | www/squid/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile index 3d09f8c9e69..b65eb82433a 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.171 2006/03/05 04:21:20 taca Exp $ +# $NetBSD: Makefile,v 1.172 2006/03/11 10:41:03 taca Exp $ DISTNAME= squid-2.5.STABLE12 PKGNAME= squid-2.5.12 @@ -123,19 +123,20 @@ post-install: ${INSTALL_DATA} $$i ${DOCDIR}; \ done @( \ - for FILE in ${OPTIONAL_FILES}; do \ - ${TEST} ! -r ${PREFIX}/${FILE} || ${ECHO} ${FILE}; \ + for i in ${OPTIONAL_FILES}; do \ + ${TEST} ! -r ${PREFIX}/$$i || ${ECHO} $$i; \ done; \ cd ${WRKSRC}/errors; \ for i in *; do \ - ${TEST} -d ${i} && \ + ${TEST} -d $$i && \ (${LS} $$i/ERR_* | \ ${SED} -e 's@^@share/squid/errors/@'; \ ${ECHO} "@dirrm share/squid/errors/$$i"); \ done; \ ${ECHO} "@dirrm share/squid/errors"; \ cd ${WRKSRC}/icons; \ - ${LS} anthony-*.gif | ${SED} -e 's@^@share/squid/icons/@'; \ + ${LS} anthony-*.gif | \ + ${SED} -e 's@^@share/squid/icons/@'; \ ${ECHO} "@dirrm share/squid/icons"; \ ${ECHO} "share/squid/mib.txt"; \ ${ECHO} "@dirrm share/squid" \ |