Skip to content

Commit 124a2ef

Browse files
committed
chore(stacks): change rust cargo home
1 parent 5a45533 commit 124a2ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stacks/rust/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function build() {
2121
./install.sh --prefix=/opt/drycc/rust
2222
rm -rf /opt/drycc/rust/share /opt/drycc/rust/bin/rustdoc
2323
cp -rf /opt/drycc/rust/* "${DATA_DIR}"
24-
mkdir -p "${DATA_DIR}"/target "${DATA_DIR}"/env
25-
echo "/opt/drycc/rust" > "${DATA_DIR}"/env/CARGO_HOME
24+
mkdir -p "${DATA_DIR}"/env "${DATA_DIR}"/cargo "${DATA_DIR}"/target
25+
echo "/opt/drycc/rust/cargo" > "${DATA_DIR}"/env/CARGO_HOME
2626
echo "/opt/drycc/rust/target" > "${DATA_DIR}"/env/CARGO_TARGET_DIR
2727
cd ..
2828

0 commit comments

Comments
 (0)