Replace hardcoded reference to ${mode}
This commit is contained in:
parent
76138faa39
commit
7e928ab194
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ perform_update()
|
||||||
parent=$(dirname "${parent}")
|
parent=$(dirname "${parent}")
|
||||||
done
|
done
|
||||||
for dir in ${parents}; do
|
for dir in ${parents}; do
|
||||||
run_install "-d" "-m" "u=rwx,g=rwx,o=" "${dir}"
|
run_install "-d" "-m" "${mode}" "${dir}"
|
||||||
done
|
done
|
||||||
run_install "-m" "u=rw,g=rw,o=" "${file}" "${target}"
|
run_install "-m" "${mode}" "${file}" "${target}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue