Skip to content

Instantly share code, notes, and snippets.

@jberkel
Created February 9, 2010 17:48
Show Gist options
  • Select an option

  • Save jberkel/299458 to your computer and use it in GitHub Desktop.

Select an option

Save jberkel/299458 to your computer and use it in GitHub Desktop.
diff --git a/scripts/manage b/scripts/manage
index 604ded0..56c7505 100755
--- a/scripts/manage
+++ b/scripts/manage
@@ -69,7 +69,7 @@ __rvm_install_source() {
if [[ ! -z "$rvm_ruby_patch" ]] ; then
for patch in $(echo $rvm_ruby_patch | tr ',' ' ') ; do
- patch -p1 $patch
+ patch -p1 < $patch || exit $?
done
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment