Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# MySQL-BU Loader
|
# MySQL-BU Loader
|
||||||
|
|
||||||
source /opt/mysqlbu/settings.conf
|
source /opt/idssys/mysqlbu/settings.conf
|
||||||
cd /opt/mysqlbu
|
cd /opt/idssys/mysqlbu
|
||||||
#echo ""
|
#echo ""
|
||||||
if [ "$1" != "backup" ]; then
|
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
|
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user