Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2016 17:00:47 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408947 - in head/news/nzbget: . files
Message-ID:  <201602151700.u1FH0lZG046486@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Mon Feb 15 17:00:47 2016
New Revision: 408947
URL: https://svnweb.freebsd.org/changeset/ports/408947

Log:
  Set `command' before using it in the startup script.
  
  This fixes the status command which was returning "eval: -L: not found"
  before.
  
  PR:		206722
  Submitted by:	dburkland@dburkland.com (first version),
  		Toxic <toxic@doobie.com> (maintainer)
  MFH:		2016Q1

Modified:
  head/news/nzbget/Makefile
  head/news/nzbget/files/nzbget.in

Modified: head/news/nzbget/Makefile
==============================================================================
--- head/news/nzbget/Makefile	Mon Feb 15 16:51:05 2016	(r408946)
+++ head/news/nzbget/Makefile	Mon Feb 15 17:00:47 2016	(r408947)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nzbget
 PORTVERSION=	16.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	news
 

Modified: head/news/nzbget/files/nzbget.in
==============================================================================
--- head/news/nzbget/files/nzbget.in	Mon Feb 15 16:51:05 2016	(r408946)
+++ head/news/nzbget/files/nzbget.in	Mon Feb 15 17:00:47 2016	(r408947)
@@ -20,10 +20,10 @@ load_rc_config ${name}
 
 : ${nzbget_enable:=NO}
 
+command=%%PREFIX%%/bin/nzbget
 start_cmd="${name}_start"
 status_cmd="${command} -L S"
 stop_cmd="${name}_stop"
-command=%%PREFIX%%/bin/nzbget
 
 nzbget_start()
 {



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