Skip to content

Commit 41f1bea

Browse files
committed
fix: devtool install --path broken
ensures binaries are installed in the directory specified by --path. previously binaries could be overwriten during installation. Signed-off-by: Matthew Buckingham-Bishop <[email protected]>
1 parent 3e629eb commit 41f1bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/devtool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ cmd_install() {
11931193
# Install the binaries
11941194
for binary in "${binaries[@]}"; do
11951195
say "Installing $binary in $install_path"
1196-
install -m 755 "$( build_bin_path "$target" "$profile" "$binary" )" "$install_path"
1196+
install -m 755 -D -t "$install_path" "$( build_bin_path "$target" "$profile" "$binary" )"
11971197
done
11981198
}
11991199

0 commit comments

Comments
 (0)