From 273bc17fe7e9443e352e9a69e29e04579a4fa9ed Mon Sep 17 00:00:00 2001 From: Jeremy Stephens Date: Tue, 16 Jul 2013 19:57:49 -0500 Subject: [PATCH] Force copying files for mruby When installing mruby-dev, the cp command doesn't use the force flag. This causes an issue when using a custom build configuration (via MRUBY_CONFIG environment variable) and installing mrbgems from Github, as the pack files in the git repositories are read-only. --- bin/ruby-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index 9a3098c2..01aca3c6 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -449,7 +449,7 @@ build_package_mruby() { { rake mkdir -p "$PREFIX_PATH" - cp -R build/host/* "$PREFIX_PATH" + cp -fR build/host/* "$PREFIX_PATH" cd "$PREFIX_PATH/bin" ln -fs mruby ruby ln -fs mirb irb