From: xonotic Date: Thu, 15 Apr 2010 09:43:03 +0000 (+0200) Subject: correctly write info.txt X-Git-Tag: xonotic-v0.1.0preview~500 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=0a079af1661b84bb6d52e06253b3de8f164ac0eb;ds=sidebyside correctly write info.txt --- diff --git a/all b/all index c1a830f7..57d92453 100755 --- a/all +++ b/all @@ -392,9 +392,9 @@ case "$cmd" in if [ x"$REV" = x"->" ]; then continue fi - if git format-patch -o "$patchdir/$i" "$UPSTREAM".."$BRANCH" | grep .; then + if git format-patch -o "$patchdir/$i" "$UPSTREAM".."$BRANCH"; then echo "$d" > "$patchdir/$i/info.txt" - echo "$BRANCH" > "$patchdir/$i/info.txt" + echo "$BRANCH" >> "$patchdir/$i/info.txt" echo "$UPSTREAM" >> "$patchdir/$i/info.txt" echo "$TRACK" >> "$patchdir/$i/info.txt" i=$(($i+1))