Skip to content

Instantly share code, notes, and snippets.

@nikolaiianchuk
Created December 6, 2021 19:29
Show Gist options
  • Save nikolaiianchuk/b126717b985143e33065ba6231491367 to your computer and use it in GitHub Desktop.
Save nikolaiianchuk/b126717b985143e33065ba6231491367 to your computer and use it in GitHub Desktop.
ruby_2_2_10_m1.patch
--- a/configure
+++ b/configure
@@ -25181,7 +25181,7 @@ which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
case $ac_file in
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ *) mv "$ac_tmp/out" "$ac_file";;
esac \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment