From 3fa79eb14a4c0244fb2dc4a5b805b7cffaa63770 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 24 Feb 2020 13:59:25 +0800 Subject: update --- scripts/check_upstream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/check_upstream') diff --git a/scripts/check_upstream b/scripts/check_upstream index 02c3f87..3313e5b 100755 --- a/scripts/check_upstream +++ b/scripts/check_upstream @@ -18,7 +18,7 @@ cd "$1" && \ git fetch origin && \ if ! git rev-list "$head" | grep "$(git rev-parse origin/master)" > /dev/null then - [ $(git pull my) = 'Alrady up to date.' ] || \ + [[ $(git pull my) == 'Alrady up to date.' ]] || \ echo "New commit at" "$1" fi -- cgit v1.2.3-70-g09d2