Assign ${mode} consistently (without dbl quotes)

This commit is contained in:
0x1eef 2024-05-22 23:35:33 -03:00
parent 59aa25d3c3
commit 2b9707e89f
3 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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

View file

@ -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
##