Update test.sh

This commit is contained in:
2019-02-06 09:35:49 -06:00
parent fe0e4f7e9a
commit 2d55287298

View File

@@ -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