From 8662c92b996ecd8bdd96f2f38044273215839377 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Mon, 29 Dec 2014 13:27:00 -0500 Subject: [PATCH] rust: manually chmod to prep for lack of install.sh support for bindir --- recipes/rust/rust.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index a7adafa..50b8254 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -334,6 +334,13 @@ do_compile () { rust_do_install () { rust_runmake DESTDIR="${D}" install + # Rust's install.sh doesn't mark executables as executable because + # we're using a custom bindir, do it ourselves. + chmod +x "${D}/${bindir}/rustc" + chmod +x "${D}/${bindir}/rustdoc" + chmod +x "${D}/${bindir}/rust-lldb" + + # Install our custon target.json files local td="${D}${libdir}/rust/targets/" install -d "$td" for tgt in "${WORKDIR}/targets/"* ; do