Loading README.md +2 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,8 @@ The build process may be configured through the following environment variables: | `RUBY_CONFIGURE_OPTS` | Additional `./configure` options (applies only to Ruby source). | | `RUBY_MAKE_OPTS` | Additional `make` options (applies only to Ruby source). | | `RUBY_MAKE_INSTALL_OPTS` | Additional `make install` options (applies only to Ruby source). | | `NO_COLOR` | Disable ANSI colors in output. The default is to use colors for output connected to a terminal. | | `CLICOLOR_FORCE` | Use ANSI colors in output even when not connected to a terminal. | #### Applying Patches Loading bin/ruby-build +4 −2 Original line number Diff line number Diff line Loading @@ -100,8 +100,10 @@ sanitize() { } colorize() { if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2" else echo -n "$2" if [[ -n $CLICOLOR_FORCE || ( -z $NO_COLOR && -t 1 ) ]]; then printf "\e[%sm%s\e[m" "$1" "$2" else printf "%s" "$2" fi } Loading Loading
README.md +2 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,8 @@ The build process may be configured through the following environment variables: | `RUBY_CONFIGURE_OPTS` | Additional `./configure` options (applies only to Ruby source). | | `RUBY_MAKE_OPTS` | Additional `make` options (applies only to Ruby source). | | `RUBY_MAKE_INSTALL_OPTS` | Additional `make install` options (applies only to Ruby source). | | `NO_COLOR` | Disable ANSI colors in output. The default is to use colors for output connected to a terminal. | | `CLICOLOR_FORCE` | Use ANSI colors in output even when not connected to a terminal. | #### Applying Patches Loading
bin/ruby-build +4 −2 Original line number Diff line number Diff line Loading @@ -100,8 +100,10 @@ sanitize() { } colorize() { if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2" else echo -n "$2" if [[ -n $CLICOLOR_FORCE || ( -z $NO_COLOR && -t 1 ) ]]; then printf "\e[%sm%s\e[m" "$1" "$2" else printf "%s" "$2" fi } Loading