mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-26 14:36:31 +00:00
chmod -- doesn't work on macOS
This commit is contained in:
parent
1cb6312fb2
commit
ae33940331
@ -56,7 +56,7 @@ main() {
|
|||||||
# Install binary.
|
# Install binary.
|
||||||
ensure try_sudo mkdir -p -- "${BIN_DIR}"
|
ensure try_sudo mkdir -p -- "${BIN_DIR}"
|
||||||
ensure try_sudo cp -- "${_bin_name}" "${BIN_DIR}/${_bin_name}"
|
ensure try_sudo cp -- "${_bin_name}" "${BIN_DIR}/${_bin_name}"
|
||||||
ensure try_sudo chmod +x -- "${BIN_DIR}/${_bin_name}"
|
ensure try_sudo chmod +x "${BIN_DIR}/${_bin_name}"
|
||||||
echo "Installed zoxide to ${BIN_DIR}"
|
echo "Installed zoxide to ${BIN_DIR}"
|
||||||
|
|
||||||
# Install manpages.
|
# Install manpages.
|
||||||
|
Loading…
Reference in New Issue
Block a user