Skip to content

Commit f6a0c49

Browse files
authored
Merge pull request #10535 from gitbutlerapp/copilot/fix-813c55f5-e4c1-4764-a30e-bbce71a645f9
Make `inject-git-binaries.sh` respect `CARGO_TARGET_DIR` environment variable
2 parents 971441a + 777f593 commit f6a0c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/gitbutler-tauri/inject-git-binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function log {
88

99
ROOT="$(dirname "$THIS")/../.."
1010
TRIPLE=${TRIPLE_OVERRIDE:-$(rustc -vV | sed -n 's|host: ||p')}
11-
TARGET_ROOT="$ROOT/target/${TRIPLE_OVERRIDE:-}/release"
11+
TARGET_ROOT="${CARGO_TARGET_DIR:-$ROOT/target}/${TRIPLE_OVERRIDE:-}/release"
1212
CRATE_ROOT="$ROOT/crates/gitbutler-tauri"
1313

1414
# BINARIES

0 commit comments

Comments
 (0)