summaryrefslogtreecommitdiffstats
path: root/japanese/Canna
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-09-17 23:28:13 +0000
committermax <max@FreeBSD.org>1996-09-17 23:28:13 +0000
commit5314403e82a81bd86e2f85a6b8fce96cefba110d (patch)
treef5e49f1bb7f94da9142bb29a844473fc016acd6b /japanese/Canna
parente2e3b41b0dd3f67d7e57971ddce5d04c38a51964 (diff)
downloadFreeBSD-ports-5314403e82a81bd86e2f85a6b8fce96cefba110d.zip
FreeBSD-ports-5314403e82a81bd86e2f85a6b8fce96cefba110d.tar.gz
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!!
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 bfbe673..6c65f0d 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
OpenPOWER on IntegriCloud