-
-
Save Ch00k/6393285 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [1;32mdiff --git a/scripts/functions/autolibs b/scripts/functions/autolibs[0;0m | |
| [0;0mindex fa5df6e..b37ef74 100755[0;0m | |
| [1;31m--- a/scripts/functions/autolibs[0;0m | |
| [1;34m+++ b/scripts/functions/autolibs[0;0m | |
| [1;35m@@ -2,7 +2,6 @@[0;0m | |
| [0;0m [0;0m | |
| [0;0m __rvm_autolibs_translate()[0;0m | |
| [0;0m {[0;0m | |
| [1;31m- [[ -n "$_system_name" ]] || __rvm_detect_system[0;0m | |
| [0;0m case "${rvm_autolibs_flag}" in[0;0m | |
| [0;0m (0|disable|disabled)[0;0m | |
| [0;0m rvm_autolibs_flag_number=0[0;0m | |
| [1;32mdiff --git a/scripts/functions/utility_system b/scripts/functions/utility_system[0;0m | |
| [0;0mindex ebb88c2..7994987 100644[0;0m | |
| [1;31m--- a/scripts/functions/utility_system[0;0m | |
| [1;34m+++ b/scripts/functions/utility_system[0;0m | |
| [1;35m@@ -153,11 +153,11 @@ __rvm_detect_system()[0;0m | |
| [0;0m _system_arch="${_system_arch/i[123456789]86/i386}"[0;0m | |
| [0;0m }[0;0m | |
| [0;0m [0;0m | |
| [1;34m+__rvm_detect_system[0;0m | |
| [1;34m+[0;0m | |
| [0;0m __system_and_version_is()[0;0m | |
| [0;0m {[0;0m | |
| [1;31m- _system=$(uname)[0;0m | |
| [1;31m- _version=$(uname -r)[0;0m | |
| [1;31m- [[ ${_system} == "$1" && ${_version} == "$2" ]] || return $?[0;0m | |
| [1;34m+ [[ ${_system_name} == "$1" && ${_system_version} == "$2" ]] || return $?[0;0m | |
| [0;0m }[0;0m | |
| [0;0m [0;0m | |
| [0;0m # params: [printf_if=-] [suffix][0;0m | |
| [1;35m@@ -165,10 +165,7 @@ __rvm_system_path()[0;0m | |
| [0;0m {[0;0m | |
| [0;0m rvm_remote_server_path="$(__rvm_db "rvm_remote_server_path${2:-}")"[0;0m | |
| [0;0m [[ -n "${rvm_remote_server_path}" ]] ||[0;0m | |
| [1;31m- if __rvm_detect_system[0;0m | |
| [1;31m- then rvm_remote_server_path="${_system_name}/${_system_version}/${_system_arch}"[0;0m | |
| [1;31m- else return $?[0;0m | |
| [1;31m- fi[0;0m | |
| [1;34m+ rvm_remote_server_path="${_system_name}/${_system_version}/${_system_arch}"[0;0m | |
| [0;0m if [[ "${1:-}" == "-" ]][0;0m | |
| [0;0m then printf "%b" "${rvm_remote_server_path}\n"[0;0m | |
| [0;0m fi[0;0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment