From ea975491618defe8094b01009c13978f31592df8 Mon Sep 17 00:00:00 2001 From: Angus Lees Date: Sun, 15 Mar 2020 12:23:52 +1100 Subject: [PATCH] Avoid extra sh process from shell wrapper `exec` from shell wrapper to avoid persistent sh process --- classes/rust-common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/rust-common.bbclass b/classes/rust-common.bbclass index cbc7d3c..7a455e8 100644 --- a/classes/rust-common.bbclass +++ b/classes/rust-common.bbclass @@ -110,7 +110,7 @@ create_wrapper () { cat <<- EOF > "${file}" #!/bin/sh - $@ "\$@" + exec $@ "\$@" EOF chmod +x "${file}" }