Update run.sh
This commit is contained in:
1 parent
3975bc6aa1
commit
47b536cd80
1 file changed
+1
-1
@@ -8,7 +8,7 @@ fi
|
|||||||
|
|
||||||
cd /opt/idssys/mysqlbu
|
cd /opt/idssys/mysqlbu
|
||||||
#echo ""
|
#echo ""
|
||||||
if [ "$1" != "backup" ]; then
|
if [ "$1" != "backup22" ]; 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
|
||||||
git fetch origin master >/dev/null 2>&1
|
git fetch origin master >/dev/null 2>&1
|
||||||
git reset --hard origin/master >/dev/null 2>&1
|
git reset --hard origin/master >/dev/null 2>&1
|
||||||
|
|||||||
Reference in new issue
Block a user