Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 14:11:31 +0000 (UTC)
From:      Luca Pizzamiglio <pizzamig@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465179 - in head/sysutils/pot: . files
Message-ID:  <201803211411.w2LEBVvQ074116@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pizzamig
Date: Wed Mar 21 14:11:31 2018
New Revision: 465179
URL: https://svnweb.freebsd.org/changeset/ports/465179

Log:
  sysutils/pot: Fix rc script

Modified:
  head/sysutils/pot/Makefile
  head/sysutils/pot/files/pot.in

Modified: head/sysutils/pot/Makefile
==============================================================================
--- head/sysutils/pot/Makefile	Wed Mar 21 14:05:34 2018	(r465178)
+++ head/sysutils/pot/Makefile	Wed Mar 21 14:11:31 2018	(r465179)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pot
 PORTVERSION=	0.5.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	pizzamig@FreeBSD.org

Modified: head/sysutils/pot/files/pot.in
==============================================================================
--- head/sysutils/pot/files/pot.in	Wed Mar 21 14:05:34 2018	(r465178)
+++ head/sysutils/pot/files/pot.in	Wed Mar 21 14:11:31 2018	(r465179)
@@ -24,8 +24,8 @@ pot_start()
 {
 	local _pname
 	for _pname in $pot_list ; do
-		if pot info -qp $_pname ; then
-			pot start $_pname
+		if %%PREFIX%%/bin/${name} info -qp $_pname ; then
+			%%PREFIX%%/bin/${name} start $_pname
 		else
 			echo "pot start: pot $_pnmame not found"
 		fi
@@ -36,8 +36,8 @@ pot_stop()
 {
 	local _pname
 	for _pname in $pot_list ; do
-		if pot info -qp $_pname ; then
-			pot stop $_pname
+		if %%PREFIX%%/bin/${name} info -qp $_pname ; then
+			%%PREFIX%%/bin/${name} stop $_pname
 		else
 			echo "pot stop: pot $_pname not found"
 		fi
@@ -55,7 +55,7 @@ pot_status()
 {
 	local _p
 	for _p in $pot_list ; do
-		if pot info -qrp $_p ; then
+		if %%PREFIX%%/bin/${name} info -qrp $_p ; then
 			echo "pot $_p is up and running"
 		else
 			echo "pot $_p is not running"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803211411.w2LEBVvQ074116>