scripts/patches in rvm-1.0.4 vs scripts/patches in rvm-1.0.5

- old
+ new

@@ -4,10 +4,10 @@ # and dealing with patches. # Returns the path used to look for a patch given a specific name. __rvm_patch_lookup_path() { echo "/" - [[ -n "$rvm_patch_original_pwd" ]] && echo "$rvm_patch_original_pwd/" + [[ -n "${rvm_patch_original_pwd:-""}" ]] && echo "$rvm_patch_original_pwd/" echo "$PWD/" __rvm_ruby_string_paths_under "$rvm_patches_path" | sed 's/$/\//' } __rvm_expand_patch_name() {