From 6b90326bca390329ab89164b622cd9ad714a9fcb Mon Sep 17 00:00:00 2001
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Mon, 8 Jan 2024 21:45:59 +0100
Subject: [PATCH] Make sure to install recipes using the cargo template get
 installed in /usr/bin too

---
 src/bin/cook.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/cook.rs b/src/bin/cook.rs
index 2badc3516..c6983d6e7 100644
--- a/src/bin/cook.rs
+++ b/src/bin/cook.rs
@@ -449,7 +449,7 @@ COOKBOOK_CARGO="${COOKBOOK_REDOXER}"
 function cookbook_cargo {
     "${COOKBOOK_CARGO}" install \
         --path "${COOKBOOK_SOURCE}" \
-        --root "${COOKBOOK_STAGE}" \
+        --root "${COOKBOOK_STAGE}/usr" \
         --locked \
         --no-track \
         "$@"
-- 
GitLab