diff --git a/bin/portzap b/bin/portzap index 45e96d8..e34a75a 100755 --- a/bin/portzap +++ b/bin/portzap @@ -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 \; }