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 | c7612d1a1ce3aa4ab7b3886bbca002976f3ac91e (patch) | |
tree | 64964c0ead57d0d453890137aea52df01e7bbf89 /www/squid | |
parent | a527d84ce0123fb8dc070f189fece884178a5b96 (diff) | |
download | pkgsrc-c7612d1a1ce3aa4ab7b3886bbca002976f3ac91e.tar.gz |
Fix and style improvement for shell script part of post-install.
Diffstat (limited to 'www/squid')
-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" \ |