Update run.sh

This commit is contained in:
2019-01-29 11:23:57 -06:00
parent 0ea0133d2c
commit fd778aa306

4
run.sh
View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# MySQL-BU Loader
source /opt/mysqlbu/settings.conf
cd /opt/mysqlbu
source /opt/idssys/mysqlbu/settings.conf
cd /opt/idssys/mysqlbu
#echo ""
if [ "$1" != "backup" ]; then
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then