Update run.sh
This commit is contained in:
1 parent
1811b419f4
commit
ae6d85a2e8
1 file changed
+1
-1
@@ -47,7 +47,7 @@ if [ "${1}" == "update" ]; then
|
||||
fi
|
||||
|
||||
cd ${MMFOLDER}
|
||||
[ "${GITBRANCH}" != "" ] && gb=${GITBRANCH} || gb="master"
|
||||
[ "${GITBRANCH}" != "" ] && gb="${GITBRANCH}" || gb="master"
|
||||
if [ "`git log --pretty=%H ...refs/heads/${gb}^ | head -n 1`" != "`git ls-remote origin -h refs/heads/${gb} |cut -f1`" ]; then
|
||||
if [ "${2}" != "q" ]; then
|
||||
echo -en "\e[1A";
|
||||
|
||||
Reference in new issue
Block a user