Skip to content

Commit 777f593

Browse files
CopilotByron
andcommitted
Make inject-git-binaries.sh respect CARGO_TARGET_DIR environment variable
Co-authored-by: Byron <[email protected]>
1 parent f919a04 commit 777f593

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)