forked from ungleich-public/cdist
Fix SC2215 (missing brackets on if)
This might have never worked as intended, but how would you know?
This commit is contained in:
parent
ef8ec8641e
commit
e2593c0dcb
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ case "$state_should" in
|
||||||
cat << DONE
|
cat << DONE
|
||||||
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm $gemset --create"
|
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm $gemset --create"
|
||||||
DONE
|
DONE
|
||||||
if -f "$__object/parameter/default"; then
|
if [ -f "$__object/parameter/default" ]; then
|
||||||
cat << DONE
|
cat << DONE
|
||||||
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm use --default $gemset"
|
su - "$user" -c "source ~/.rvm/scripts/rvm; rvm use --default $gemset"
|
||||||
DONE
|
DONE
|
||||||
|
|
Loading…
Reference in a new issue