Replace hardcoded reference to ${mode}

This commit is contained in:
0x1eef 2024-04-20 17:05:49 -03:00
parent 76138faa39
commit 7e928ab194

View file

@ -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
}