From 1ea67929f08f85fdc44fe388062e92251c322c25 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Tue, 6 Oct 2015 10:34:49 -0400 Subject: [PATCH] rust: do_compile: fix logic for use of downloaded snapshot --- recipes/rust/rust.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index 53a92a5..ceeceee 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -334,7 +334,7 @@ rust_runmake () { } do_compile () { - if ${@bb.utils.contains('PACKAGECONFIG', 'local-rust', 'true', 'false', d)}; then + if ${@bb.utils.contains('PACKAGECONFIG', 'local-rust', 'false', 'true', d)}; then mkdir -p dl cp -f ${WORKDIR}/${RUST_SNAPSHOT} dl fi