aboutsummaryrefslogtreecommitdiff
path: root/japanese/Canna
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-09-17 23:28:13 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-09-17 23:28:13 +0000
commit7821eadd1139114fb8fea50af9a56cc0dfbbc503 (patch)
treee8eb5bf90f48a7c9ed06932fa368d75e35383c91 /japanese/Canna
parentfe72104d022b07a49ee46673f2e297b61cd63073 (diff)
downloadports-7821eadd1139114fb8fea50af9a56cc0dfbbc503.tar.gz
ports-7821eadd1139114fb8fea50af9a56cc0dfbbc503.zip
Fixed the problem that the startup script installed in /usr/local/etc/rc.d
didn't actually start the program. Amazingly, no one has complained about this problem!!
Notes
Notes: svn path=/head/; revision=3800
Diffstat (limited to 'japanese/Canna')
-rw-r--r--japanese/Canna/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/Canna/Makefile b/japanese/Canna/Makefile
index bfbe6735ca96..6c65f0d0ecec 100644
--- a/japanese/Canna/Makefile
+++ b/japanese/Canna/Makefile
@@ -4,7 +4,7 @@
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# NIIMI Satoshi <sa2c@and.or.jp>
#
-# $Id: Makefile,v 1.7 1995/06/26 09:27:45 asami Exp $
+# $Id: Makefile,v 1.8 1996/08/09 02:40:13 asami Exp $
#
DISTNAME= Canna32p2
@@ -27,9 +27,10 @@ post-install:
echo "Installing ${PREFIX}/etc/rc.d/canna.sh startup file."; \
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/canna.sh; \
echo "canna=/usr/local/canna/bin/cannaserver" >> ${PREFIX}/etc/rc.d/canna.sh ;\
- echo "if [ -f $$canna ]; then" >> ${PREFIX}/etc/rc.d/canna.sh ;\
+ echo 'if [ -f $$canna ]; then' >> ${PREFIX}/etc/rc.d/canna.sh ;\
echo " rm -f /var/spool/canna/lock/.CANNALOCK*" >> ${PREFIX}/etc/rc.d/canna.sh ;\
- echo " echo -n ' Canna'; $$canna" >> ${PREFIX}/etc/rc.d/canna.sh ;\
+ echo " echo -n ' Canna'" >> ${PREFIX}/etc/rc.d/canna.sh ;\
+ echo '$$canna' >> ${PREFIX}/etc/rc.d/canna.sh ;\
echo "fi" >> ${PREFIX}/etc/rc.d/canna.sh ;\
chmod 755 ${PREFIX}/etc/rc.d/canna.sh ;\
fi