Skip to content

Commit

Permalink
run_code_coverage_post.sh: Lean toward Google shell style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Mar 21, 2015
1 parent 3bcb52e commit 951ec3b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions run_code_coverage_post.sh
Expand Up @@ -11,7 +11,8 @@ tell application "Finder"
set myReply to button returned of (display dialog dialogText buttons {cancelText, okText} cancel button cancelText default button okText)
end tell
EOT`
if [[ $button = "OK" ]]; then
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"${DIR}/getcov" --show
if [[ "${button}" = "OK" ]]; then
scripts="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"${scripts}/getcov" --show
fi

0 comments on commit 951ec3b

Please sign in to comment.