git: b7125c22c60d - main - net/gmid: fix rc script

Neel Chauhan nc at FreeBSD.org
Thu May 6 01:31:49 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b7125c22c60d2bbcbab5b6ac796080bffd9c2482

commit b7125c22c60d2bbcbab5b6ac796080bffd9c2482
Author:     Omar Polo <freebsd at omarpolo.com>
AuthorDate: 2021-05-06 01:30:46 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-05-06 01:30:46 +0000

    net/gmid: fix rc script
    
    Also bump PORTREVISION.
    
    PR:     255530
---
 net/gmid/Makefile      | 1 +
 net/gmid/files/gmid.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/gmid/Makefile b/net/gmid/Makefile
index 912c0736d11a..6107ff1600f7 100644
--- a/net/gmid/Makefile
+++ b/net/gmid/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gmid
 DISTVERSION=	v1.6.1
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	freebsd at omarpolo.com
diff --git a/net/gmid/files/gmid.in b/net/gmid/files/gmid.in
index 8ab69c3bfff2..71b11c6eac8f 100644
--- a/net/gmid/files/gmid.in
+++ b/net/gmid/files/gmid.in
@@ -29,14 +29,14 @@ extra_commands="configtest"
 load_rc_config $name
 
 command="%%PREFIX%%/bin/${name}"
-command_flags="-c ${gmid_config}"
+gmid_flags="-c ${gmid_config}"
 
 required_files="${gmid_config}"
 
 gmid_checkconfig()
 {
 	echo "Performing sanity check on gmid configuration:"
-	eval ${command} -n ${command_flags}
+	eval ${command} -n ${gmid_flags}
 }
 
 run_rc_command "$1"


More information about the dev-commits-ports-all mailing list