From 2d552872983fac8ab06cc4c79319974e2bf48cdd Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 09:35:49 -0600 Subject: [PATCH] Update test.sh --- test.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test.sh b/test.sh index 643c7f2..01eaaea 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc +source /opt/idssys/nodemgmt/defaults.inc + cd /opt/idssys/defaults if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then @@ -17,7 +19,8 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot fi -for siteconf in /etc/nginx/sites-available/* ; do - echo "${siteconf}" - +for srvcopts in "${NM_SRVCOPTS[@]}" +do + echo " [${s}] ${srvcopts~}" + s=`expr $s + 1` done