Skip to content

Commit

Permalink
fix quoting in /etc/rvmrc, fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Feb 24, 2013
1 parent 84f6758 commit bdab2d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sm/rix/shell/rvm/functions
Expand Up @@ -32,11 +32,11 @@ rix.rvm.install.ruby()
! GREP_OPTIONS="" \grep rvm_configure_env /etc/rvmrc >/dev/null
then
printf "export -a rvm_configure_env\n\
rvm_configure_env=('\
LDFLAGS=-L/opt/sm/pkg/active/lib \
CFLAGS=-I/opt/sm/pkg/active/include \
CPATH=/opt/sm/pkg/active/include\
')\n" >> /etc/rvmrc
rvm_configure_env=( \
'LDFLAGS=-L/opt/sm/pkg/active/lib' \
'CFLAGS=-I/opt/sm/pkg/active/include' \
'CPATH=/opt/sm/pkg/active/include' \
)\n" >> /etc/rvmrc
fi
if
rvm install $@ 2>&1 | tee $logs/install_ruby-$1 | log dotted
Expand Down

0 comments on commit bdab2d1

Please sign in to comment.