From 2b9707e89fe99ae09842f19c2e8bb689afe7b347 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 22 May 2024 23:35:33 -0300 Subject: [PATCH] Assign ${mode} consistently (without dbl quotes) --- libexec/portzap/portzap-checkout | 2 +- libexec/portzap/portzap-install | 2 +- libexec/portzap/portzap-pull | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/portzap/portzap-checkout b/libexec/portzap/portzap-checkout index a5cb533..bfb481b 100644 --- a/libexec/portzap/portzap-checkout +++ b/libexec/portzap/portzap-checkout @@ -6,7 +6,7 @@ set -e localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)} libexec="${localbase}"/libexec/portzap git=$(which git) -mode="u=rwX,g=rX,o=" +mode=u=rwX,g=rX,o= gitdir="$1" branch="$2" diff --git a/libexec/portzap/portzap-install b/libexec/portzap/portzap-install index 6f22788..572f814 100755 --- a/libexec/portzap/portzap-install +++ b/libexec/portzap/portzap-install @@ -5,7 +5,7 @@ set -e # variables localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)} libexec="${localbase}"/libexec/portzap -mode="u=rwX,g=rX,o=" +mode=u=rwX,g=rX,o= gitdir=$1 installdir=$2 revfile=$3 diff --git a/libexec/portzap/portzap-pull b/libexec/portzap/portzap-pull index 1fef7cd..d4c4418 100755 --- a/libexec/portzap/portzap-pull +++ b/libexec/portzap/portzap-pull @@ -6,7 +6,7 @@ set -e localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)} libexec="${localbase}"/libexec/portzap git=$(which git) -mode="u=rwX,g=rX,o=" +mode=u=rwX,g=rX,o= gitdir=$1 ##