Fix SC2215 (missing brackets on if)

This might have never worked as intended, but how would you know?
This commit is contained in:
Jonas Weber 2018-10-04 21:23:12 +02:00
parent ef8ec8641e
commit e2593c0dcb

View file

@ -33,7 +33,7 @@ case "$state_should" in
cat << DONE
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm $gemset --create"
DONE
if -f "$__object/parameter/default"; then
if [ -f "$__object/parameter/default" ]; then
cat << DONE
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm use --default $gemset"
DONE