Skip to content

Commit 07bed67

Browse files
zcg00RenjiSann
authored andcommitted
util: update 'build-gnu.sh' to use CARGO_TARGET_DIR
1 parent 8305236 commit 07bed67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

util/build-gnu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ echo "path_GNU='${path_GNU}'"
8484

8585
###
8686

87+
if [[ ! -z "$CARGO_TARGET_DIR" ]]; then
88+
UU_BUILD_DIR="${CARGO_TARGET_DIR}/${UU_MAKE_PROFILE}"
89+
else
8790
UU_BUILD_DIR="${path_UUTILS}/target/${UU_MAKE_PROFILE}"
91+
fi
8892
echo "UU_BUILD_DIR='${UU_BUILD_DIR}'"
8993

9094
cd "${path_UUTILS}" && echo "[ pwd:'${PWD}' ]"

0 commit comments

Comments
 (0)