From 7e928ab194d1fd90e2444a923e5587ec7b849edd Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sat, 20 Apr 2024 17:05:49 -0300 Subject: [PATCH] Replace hardcoded reference to ${mode} --- libexec/portzap/portzap-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/portzap/portzap-install b/libexec/portzap/portzap-install index 885921c..0a675b6 100755 --- a/libexec/portzap/portzap-install +++ b/libexec/portzap/portzap-install @@ -31,9 +31,9 @@ perform_update() parent=$(dirname "${parent}") done for dir in ${parents}; do - run_install "-d" "-m" "u=rwx,g=rwx,o=" "${dir}" + run_install "-d" "-m" "${mode}" "${dir}" done - run_install "-m" "u=rw,g=rw,o=" "${file}" "${target}" + run_install "-m" "${mode}" "${file}" "${target}" done }