Permalink
Browse files

clean __rvm_setup_compile_environment

  • Loading branch information...
1 parent 015a686 commit caa6acdb1968c54bf2b5f832fa455cc5c5cb2bd9 @mpapis mpapis committed Jan 21, 2013
Showing with 5 additions and 6 deletions.
  1. +5 −6 scripts/functions/build
View
@@ -91,12 +91,11 @@ __rvm_compiler_is_gcc47()
__rvm_setup_compile_environment()
{
- __rvm_setup_compile_environment_osx_gcc "$1"
- __rvm_setup_compile_environment_osx_architectures "$1"
- __rvm_setup_compile_environment_gcc47 "$1"
- __rvm_setup_compile_environment_smartos "$1"
- __rvm_setup_compile_environment_openbsd "$1"
- __rvm_setup_compile_environment_shared_static "$1"
+ typeset __type
+ for __type in osx_gcc osx_architectures gcc47 smartos openbsd shared_static
+ do
+ __rvm_setup_compile_environment_${__type} "$1"
+ done
rvm_debug "found compiler: $( __rvm_found_compiler )"
}

0 comments on commit caa6acd

Please sign in to comment.