aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-02 14:32:12 +0800
committertypebrook <typebrook@gmail.com>2019-05-02 14:32:12 +0800
commit4d516d3bc8ca75fd8f89ebbf67e326593c5e801b (patch)
treef48531ff6988fe64a0bedf2b33a58361c349d90a
parent5226aeaa0e0e7698a04bf9f3b8d55c7e5c5b93c0 (diff)
update
-rw-r--r--scripts/check_upstream.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/check_upstream.sh b/scripts/check_upstream.sh
index 9c2e87a..73d2b22 100644
--- a/scripts/check_upstream.sh
+++ b/scripts/check_upstream.sh
@@ -2,6 +2,10 @@
2# origin/master is ahead of local branch $2(default to dev) 2# origin/master is ahead of local branch $2(default to dev)
3check_upstream() { 3check_upstream() {
4 4
5 if [ ! -d $1 ]; then
6 return 0
7 fi
8
5 head='dev' 9 head='dev'
6 if [ $# -eq 2 ] 10 if [ $# -eq 2 ]
7 then 11 then