Skip to content

Commit

Permalink
Merge pull request nvie#160 from Zoramite/feature/Issue50
Browse files Browse the repository at this point in the history
Adding the `eval` to force variable expansion.
  • Loading branch information
nvie committed Feb 13, 2012
2 parents bb1becd + f66eba8 commit adfd408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git-flow-hotfix
Expand Up @@ -269,7 +269,7 @@ cmd_finish() {
flag sign && opts="$opts -s"
[ "$FLAGS_signingkey" != "" ] && opts="$opts -u '$FLAGS_signingkey'"
[ "$FLAGS_message" != "" ] && opts="$opts -m '$FLAGS_message'"
git tag $opts "$VERSION_PREFIX$VERSION" || \
eval git tag $opts "$VERSION_PREFIX$VERSION" || \
die "Tagging failed. Please run finish again to retry."
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion git-flow-release
Expand Up @@ -239,7 +239,7 @@ cmd_finish() {
flag sign && opts="$opts -s"
[ "$FLAGS_signingkey" != "" ] && opts="$opts -u '$FLAGS_signingkey'"
[ "$FLAGS_message" != "" ] && opts="$opts -m '$FLAGS_message'"
git tag $opts "$tagname" || \
eval git tag $opts "$tagname" || \
die "Tagging failed. Please run finish again to retry."
fi
fi
Expand Down

0 comments on commit adfd408

Please sign in to comment.