Date: Fri, 9 Nov 2018 13:47:52 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484513 - in head/sysutils/nut: . files Message-ID: <201811091347.wA9Dlq3l079106@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Fri Nov 9 13:47:51 2018 New Revision: 484513 URL: https://svnweb.freebsd.org/changeset/ports/484513 Log: Fix incorrect script default parameter expansion. PR: 233083 Modified: head/sysutils/nut/Makefile (contents, props changed) head/sysutils/nut/files/nut_upslog.in head/sysutils/nut/files/nut_upsmon.in Modified: head/sysutils/nut/Makefile ============================================================================== --- head/sysutils/nut/Makefile Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/Makefile Fri Nov 9 13:47:51 2018 (r484513) @@ -3,7 +3,7 @@ PORTNAME= nut PORTVERSION= 2.7.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Modified: head/sysutils/nut/files/nut_upslog.in ============================================================================== --- head/sysutils/nut/files/nut_upslog.in Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/files/nut_upslog.in Fri Nov 9 13:47:51 2018 (r484513) @@ -31,6 +31,6 @@ load_rc_config $name required_dirs="%%STATEDIR%%" command="${nut_upslog_prefix}/bin/upslog" pidfile="%%STATEDIR%%/upslog.pid" -nut_upslog_flags=${nut_upslog_flags-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"} +nut_upslog_flags=${nut_upslog_flags:-"-s ${nut_upslog_ups} -l ${nut_upslog_logfile} -i ${nut_upslog_interval}"} run_rc_command "$1" Modified: head/sysutils/nut/files/nut_upsmon.in ============================================================================== --- head/sysutils/nut/files/nut_upsmon.in Fri Nov 9 13:19:20 2018 (r484512) +++ head/sysutils/nut/files/nut_upsmon.in Fri Nov 9 13:47:51 2018 (r484513) @@ -29,7 +29,7 @@ required_dirs="%%STATEDIR%%" required_files="${nut_upsmon_prefix}/etc/nut/upsmon.conf" command="${nut_upsmon_prefix}/sbin/upsmon" pidfile="%%STATEDIR%%/upsmon.pid" -nut_upsmon_flags=${nut_upsmon_flags-"localhost"} +nut_upsmon_flags=${nut_upsmon_flags:-"localhost"} extra_commands=reload stop_cmd="upsmon_stop"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811091347.wA9Dlq3l079106>