Call -m switch with consistent syntax

This commit is contained in:
0x1eef 2023-01-19 11:30:11 -03:00
parent db80298d8f
commit f40cfb9e67

View file

@ -107,7 +107,7 @@ install() {
exit 1
fi
cd $transient_dir
find . -maxdepth 1 -type f -exec install -m=$install_mode {} $rest_dir \;
find . -maxdepth 1 -type f -exec install -m $install_mode {} $rest_dir \;
find . -maxdepth 1 -type d -exec mkdir -p -m $install_mode $rest_dir/{} \;
find . -depth 2 -type d -exec portzap-install-port {} $rest_dir $install_mode \;
}