Skip to content

Commit 5487c06

Browse files
mpbbpb8o
authored andcommitted
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 350d617 commit 5487c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/devtool

+1-1
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ cmd_install() {
11911191
# Install the binaries
11921192
for binary in "${binaries[@]}"; do
11931193
say "Installing $binary in $install_path"
1194-
install -m 755 "$( build_bin_path "$target" "$profile" "$binary" )" "$install_path"
1194+
install -m 755 -D -t "$install_path" "$( build_bin_path "$target" "$profile" "$binary" )"
11951195
done
11961196
}
11971197

0 commit comments

Comments
 (0)