From: Rudolf Polzer Date: Tue, 22 Jun 2010 15:28:25 +0000 (+0200) Subject: fix yet another ./all typo X-Git-Tag: xonotic-v0.1.0preview~401 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dadfae231790d4233733f7c942873d5ec21bccb9;p=xonotic%2Fxonotic.git fix yet another ./all typo --- diff --git a/all b/all index 3b288454..cc26e5be 100755 --- a/all +++ b/all @@ -400,7 +400,7 @@ case "$cmd" in rem=`git config "branch.$r.remote" || echo origin` bra=`git config "branch.$r.merge" || echo "$r"` upstream="$rem/$bra" - if ! [ git rev-parse "$upstream" ]; then + if ! git rev-parse "$upstream" >/dev/null 2>&1; then upstream="`repobranch "$d"`" fi if git log "$upstream".."$r" | grep .; then