util: update 'build-gnu.sh' to use CARGO_TARGET_DIR

This commit is contained in:
Zachary Goff-Hodges
2025-03-05 12:02:11 +01:00
committed by Dorian Péron
parent 1f2bd34ef0
commit 43036e2c7b
+4
View File
@@ -84,7 +84,11 @@ echo "path_GNU='${path_GNU}'"
###
if [[ ! -z "$CARGO_TARGET_DIR" ]]; then
UU_BUILD_DIR="${CARGO_TARGET_DIR}/${UU_MAKE_PROFILE}"
else
UU_BUILD_DIR="${path_UUTILS}/target/${UU_MAKE_PROFILE}"
fi
echo "UU_BUILD_DIR='${UU_BUILD_DIR}'"
cd "${path_UUTILS}" && echo "[ pwd:'${PWD}' ]"