aboutsummaryrefslogtreecommitdiff
path: root/shells/pdksh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/pdksh/Makefile')
-rw-r--r--shells/pdksh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile
index 24f2e5ab2b13..ad8dea47737a 100644
--- a/shells/pdksh/Makefile
+++ b/shells/pdksh/Makefile
@@ -37,7 +37,7 @@ post-patch:
post-install:
@${ECHO} "Updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
- @(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak; \
+ @(${GREP} -v "${PREFIX}/bin/ksh$$" /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/ksh) > /etc/shells
@${RM} /etc/shells.bak