Permalink
Browse files

fix quoting in /etc/rvmrc, fix #10

  • Loading branch information...
mpapis committed Feb 24, 2013
1 parent 84f6758 commit bdab2d1991bcf0a7699ee9941c5dee3f44c91799
Showing with 5 additions and 5 deletions.
  1. +5 −5 sm/rix/shell/rvm/functions
View
@@ -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

0 comments on commit bdab2d1

Please sign in to comment.