Update test.sh
This commit is contained in:
9
test.sh
9
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
|
||||
|
||||
Reference in New Issue
Block a user