summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-05-02 14:44:47 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-05-02 14:44:47 +0900
commita1ae478a31ffe4fd21c17f785f1827c031281be8 (patch)
treeb7e59d5371a321eb147a4e2360ecb0c64b131c5e /tool/vcs.rb
parent71952440adcbdd1ff51aea519bc14e8965b84ebf (diff)
Fix a typo
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index f85b57e..8fb9a4e 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -402,7 +402,7 @@ class VCS
modified = log[/^Date:\s+(.*)/, 1]
branch = cmd_read_at(srcdir, [gitcmd + %W[symbolic-ref --short HEAD]])
branch.chomp!
- upstream = cmd_read_at(srcdir, [gitcmd + %W[branch --list --format=%(upstream:short) #${branch}]])
+ upstream = cmd_read_at(srcdir, [gitcmd + %W[branch --list --format=%(upstream:short) #{branch}]])
upstream.chomp!
title = cmd_read_at(srcdir, [gitcmd + %W[log --format=%s -n1 #{upstream}..HEAD]])
title = nil if title.empty?