Permalink
Browse files

better fix to allow users to specify patches with absolute path

  • Loading branch information...
1 parent 4bcb64b commit cde34e405a8853e309aae1f879ab1694499de76b @rubyjedi rubyjedi committed with wayneeseguin Jul 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/patches
View
@@ -5,7 +5,7 @@
# Returns the path used to look for a patch given a specific name.
__rvm_patch_lookup_path() {
- echo ""
+ echo "/"
[[ -n "$rvm_patch_original_pwd" ]] && echo "$rvm_patch_original_pwd/"
echo "$PWD/"
__rvm_ruby_string_paths_under "$rvm_patches_path" | sed 's/$/\//'

0 comments on commit cde34e4

Please sign in to comment.