1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Fix -n usage.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-02-17 15:28:14 +00:00
parent afefddd389
commit a597715348
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379165
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.23.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net ipv6
MASTER_SITES= SAVANNAH

View File

@ -69,7 +69,7 @@ start_postcmd()
if [ "${quagga_daemons}" = "${quagga_daemons% ${name}}" ]; then
return;
fi
if [ -n ${quagga_wait_for} ]; then
if [ -n "${quagga_wait_for}" ]; then
echo Waiting for ${quagga_wait_for} route...
while [ ${waited_for} -lt ${quagga_wait_seconds} ]; do
/sbin/route -n get ${quagga_wait_for} >/dev/null 2>&1 && break;
@ -127,7 +127,7 @@ fi
case "${quagga_cmd}" in
start)
if [ -n ${quagga_extralibs_path} ]; then
if [ -n "${quagga_extralibs_path}" ]; then
/sbin/ldconfig -m ${quagga_extralibs_path}
fi
do_cmd "start"