From: Nicholas Clark Date: Wed, 31 Dec 2008 07:42:55 +0000 (+0000) Subject: Switching from $() to `` requires two more backticks in unpushed_commits=`...` X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=050a6864ccd9ebde9d8e59e8575c3ba4ac7097d4;p=p5sagit%2Fp5-mst-13.2.git Switching from $() to `` requires two more backticks in unpushed_commits=`...` --- diff --git a/make_patchnum.sh b/make_patchnum.sh index 1eb309d..2caebb0 100644 --- a/make_patchnum.sh +++ b/make_patchnum.sh @@ -29,7 +29,7 @@ elif [ -d ".git" ]; then extra_info="git_commit_date='$commit_created'" if [ -n "$branch" ] && [ -n "$remote" ]; then unpushed_commit_list=`git cherry $remote/$branch | awk 'BEGIN{ORS=","} /\+/ {print $2}' | sed -e 's/,$//'` - unpushed_commits=`git cherry $remote/$branch | awk 'BEGIN{ORS="\t\\\n"} /\+/ {print ",\"" $2 "\""}'` + unpushed_commits=`git cherry $remote/$branch | awk 'BEGIN{ORS="\t\\\\\n"} /\+/ {print ",\"" $2 "\""}'` if [ -n "$unpushed_commits" ]; then commit_title="Local Commit:"