summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-24 20:42:49 +0000
committerrillig <rillig@pkgsrc.org>2006-01-24 20:42:49 +0000
commit39c238e10e7efa2875ae024bcc978389671bf297 (patch)
tree37b56ebd13266166361881b514dfe7bac47349e2 /shells
parent365204f1feb5d3c0dfeafd87cbced460d49b3338 (diff)
downloadpkgsrc-39c238e10e7efa2875ae024bcc978389671bf297.tar.gz
Fixed pkglint warnings, including a bugfix where ${IFS} had been used
instead of $${IFS}.
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index 690befa22b0..ad16eb7444e 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2005/12/29 06:22:13 jlam Exp $
+# $NetBSD: Makefile,v 1.54 2006/01/24 20:42:49 rillig Exp $
#
DISTNAME= tcsh-6.14.00
@@ -36,14 +36,15 @@ PKG_SHELL?= bin/tcsh
post-install:
@${ECHO} "Installing message catalogues"
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- @if [ -f ${WRKSRC}/tcsh.C.cat ]; \
+ @${CP} ${PKGDIR:Q}/PLIST ${PLIST_SRC:Q}
+ @set -e; \
+ if [ -f ${WRKSRC:Q}/tcsh.C.cat ]; \
then \
- [ -d ${PREFIX}/${NLSDIR}/C ] || \
- ${INSTALL_DATA_DIR} ${PREFIX}/${NLSDIR}/C; \
- ${INSTALL_DATA} ${WRKSRC}/tcsh.C.cat \
- ${PREFIX}/${NLSDIR}/C/tcsh.cat; \
- ${ECHO} ${NLSDIR}/C/tcsh.cat >> ${PLIST_SRC}; \
+ [ -d ${PREFIX:Q}/${NLSDIR:Q}/C ] || \
+ ${INSTALL_DATA_DIR} ${PREFIX:Q}/${NLSDIR:Q}/C; \
+ ${INSTALL_DATA} ${WRKSRC:Q}/tcsh.C.cat \
+ ${PREFIX}/${NLSDIR:Q}/C/tcsh.cat; \
+ ${ECHO} ${NLSDIR:Q}/C/tcsh.cat >> ${PLIST_SRC:Q}; \
for i in \
et:ISO_8859-15:et:EE \
finnish:ISO_8859-1:fi:FI \
@@ -58,17 +59,17 @@ post-install:
ukrainian:KOI8-U:uk:UA \
; \
do \
- OIFS="${IFS}"; \
- IFS=":${IFS}"; \
+ OIFS="$${IFS}"; \
+ IFS=":$${IFS}"; \
set -- $$i; \
- IFS="${OIFS}"; \
+ IFS="$${OIFS}"; \
l=$$1; shift; \
s=$$1; shift; \
c=$$1; shift; \
o=; \
while [ $$# -gt 0 ]; \
do \
- d=${NLSDIR}/$${c}_$$1.$${s}; \
+ d=${NLSDIR:Q}/$${c}_$$1.$${s}; \
[ -d ${PREFIX}/$$d ] || \
${INSTALL_DATA_DIR} ${PREFIX}/$$d; \
if [ -z "$$o" ]; \