File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1180,12 +1180,6 @@ cmd_install() {
11801180 esac
11811181 shift
11821182 done
1183-
1184- # Ensure install_path ends with a trailing slash
1185- install_path=" ${install_path%/ } /"
1186-
1187- # Create the directory if it doesn't exist
1188- mkdir -p " $install_path "
11891183
11901184 # Check that the binaries exist first
11911185 for binary in " ${binaries[@]} " ; do
@@ -1199,7 +1193,7 @@ cmd_install() {
11991193 # Install the binaries
12001194 for binary in " ${binaries[@]} " ; do
12011195 say " Installing $binary in $install_path "
1202- install -m 755 " $( build_bin_path " $target " " $profile " " $binary " ) " " $install_path "
1196+ install -m 755 " $( build_bin_path " $target " " $profile " " $binary " ) " -Dt " $install_path "
12031197 done
12041198}
12051199
You can’t perform that action at this time.
0 commit comments