From f40cfb9e67af0ec69526054e2272311d9f8a1637 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 19 Jan 2023 11:30:11 -0300 Subject: [PATCH] Call -m switch with consistent syntax --- bin/portzap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \; }