diff options
Diffstat (limited to 'opentox-ruby.sh')
-rwxr-xr-x | opentox-ruby.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentox-ruby.sh b/opentox-ruby.sh index 03d6316..7da9263 100755 --- a/opentox-ruby.sh +++ b/opentox-ruby.sh @@ -39,7 +39,7 @@ echo echo "Opentox-ruby ('$LOG'):" for mygem in opentox-ruby builder jeweler; do - if ! $GEM list | grep "$mygem" >/dev/null 2>&1; then + if ! $GEM list | sed 's/\ .*//g' | grep -x "$mygem" >/dev/null 2>&1; then cmd="$GEM install $mygem" && run_cmd "$cmd" "$mygem" fi done |