From ae33940331a0e71c5cbf46fd40166d683323b699 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 10 May 2024 18:07:19 +0530 Subject: [PATCH] chmod -- doesn't work on macOS --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1403672..1e44feb 100755 --- a/install.sh +++ b/install.sh @@ -56,7 +56,7 @@ main() { # Install binary. ensure try_sudo mkdir -p -- "${BIN_DIR}" 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}" # Install manpages.