Use environment specific open command when creating a new Jira issue.

This commit is contained in:
Marco Chan 2013-11-12 15:55:16 +08:00
parent e30a1243dc
commit bb2064e92b

View file

@ -31,7 +31,7 @@ open_jira_issue () {
if [ -z "$1" ]; then
echo "Opening new issue"
`open $jira_url/secure/CreateIssue!default.jspa`
$open_cmd "$jira_url/secure/CreateIssue!default.jspa"
else
echo "Opening issue #$1"
if [[ "x$JIRA_RAPID_BOARD" = "xtrue" ]]; then