Permalink
Browse files

make sure patches.list is also copied to target, notify @envygeeks

  • Loading branch information...
1 parent e57fe0b commit 825aa97e7ea440b4cd3b8e5c3a6888b09498e0fd @mpapis mpapis committed Jan 7, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/functions/manage/base
@@ -120,7 +120,7 @@ __rvm_apply_patch()
touch "patches.list"
__rvm_log_command "patch.apply.${_patch_name##*\/}" "Applying patch ${_full_patch_path}" \
patch -F ${_patch_fuzziness} -p${_patch_level} -N -f -i "${_local_patch_path}" &&
- printf "%b" "${_patch_name}" >> "patches.list"
+ printf "%b" "${_patch_name}\n" >> "patches.list"
__rvm_apply_patch_remove
fi
}
@@ -256,6 +256,10 @@ __rvm_install_source()
return $result
fi
+ if [[ -s "${rvm_src_path}/$rvm_ruby_string/patches.list" ]]
+ then cp -f "${rvm_src_path}/$rvm_ruby_string/patches.list" "$rvm_ruby_home/patches.list"
+ fi
+
case "${rvm_ruby_string:-""}" in
ruby-1.8.4|ruby-1.8.5-*)
typeset libdir

0 comments on commit 825aa97

Please sign in to comment.