summaryrefslogtreecommitdiff
path: root/.azure-pipelines/patch_readline.sh
diff options
context:
space:
mode:
Diffstat (limited to '.azure-pipelines/patch_readline.sh')
-rw-r--r--.azure-pipelines/patch_readline.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.azure-pipelines/patch_readline.sh b/.azure-pipelines/patch_readline.sh
new file mode 100644
index 0000000000..85e7f80efb
--- /dev/null
+++ b/.azure-pipelines/patch_readline.sh
@@ -0,0 +1,3 @@
+ruby_version=$(ruby -e 'puts RUBY_VERSION')
+
+git apply --ignore-space-change --ignore-whitespace .azure-pipelines\rbreadline.diff --directory=C:/hostedtoolcache/windows/Ruby/$ruby_version/x64/lib/ruby/site_ruby --unsafe-paths