Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -35,6 +35,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
git pull >/dev/null 2>&1
|
git pull >/dev/null 2>&1
|
||||||
git submodule update --remote >/dev/null 2>&1
|
git submodule update --remote >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ${MMFOLDER}
|
cd ${MMFOLDER}
|
||||||
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
|
||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user