aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-02-15 17:00:47 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-02-15 17:00:47 +0000
commit7b3d3a8e0b3113dd8dd18c02eb6c308d53e1df34 (patch)
tree4ddb5e617bf130bf90012eef6c9ddf3e3c3127f0 /news
parenta1570ec30b741d1a8660bb6050f683cc87b78268 (diff)
downloadports-7b3d3a8e0b3113dd8dd18c02eb6c308d53e1df34.tar.gz
ports-7b3d3a8e0b3113dd8dd18c02eb6c308d53e1df34.zip
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
Notes
Notes: svn path=/head/; revision=408947
Diffstat (limited to 'news')
-rw-r--r--news/nzbget/Makefile1
-rw-r--r--news/nzbget/files/nzbget.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index 3a3044a99515..003a78235b7f 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nzbget
PORTVERSION= 16.4
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= news
diff --git a/news/nzbget/files/nzbget.in b/news/nzbget/files/nzbget.in
index d8b4db4f7bec..bf746335380d 100644
--- a/news/nzbget/files/nzbget.in
+++ b/news/nzbget/files/nzbget.in
@@ -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()
{