Fix variable syntax error

pull/659/head
Eduardo Bellido Bellido 2016-02-05 18:47:57 +01:00
parent 6a571b4826
commit 1dba074024
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ _bash-it_update() {
_about 'updates Bash it' _about 'updates Bash it'
_group 'lib' _group 'lib'
cd "${$BASH_IT}" cd "${BASH_IT}"
git fetch &> /dev/null git fetch &> /dev/null
local status="$(git rev-list master..origin/master 2> /dev/null)" local status="$(git rev-list master..origin/master 2> /dev/null)"
if [[ -n "${status}" ]]; then if [[ -n "${status}" ]]; then