Better shared variable name.

This commit is contained in:
Nathan Broadbent
2011-10-18 00:36:36 +08:00
parent 8c95162bc6
commit acd8e42ee9
5 changed files with 20 additions and 19 deletions

View File

@@ -18,7 +18,7 @@
# --------------------------------------------------------------------
git_status_shortcuts() {
# Run ruby script, store output
cmd_output=$(/usr/bin/env ruby "$scmbreezeDir/lib/git/status_shortcuts.rb" $@)
cmd_output=$(/usr/bin/env ruby "$scmbDir/lib/git/status_shortcuts.rb" $@)
if [[ -z "$cmd_output" ]]; then
# Just show regular git status if ruby script returns nothing.
git status; return 1