Assign ${mode} consistently (without dbl quotes)
This commit is contained in:
parent
59aa25d3c3
commit
2b9707e89f
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ set -e
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
libexec="${localbase}"/libexec/portzap
|
libexec="${localbase}"/libexec/portzap
|
||||||
git=$(which git)
|
git=$(which git)
|
||||||
mode="u=rwX,g=rX,o="
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir="$1"
|
gitdir="$1"
|
||||||
branch="$2"
|
branch="$2"
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
||||||
# variables
|
# variables
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
libexec="${localbase}"/libexec/portzap
|
libexec="${localbase}"/libexec/portzap
|
||||||
mode="u=rwX,g=rX,o="
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir=$1
|
gitdir=$1
|
||||||
installdir=$2
|
installdir=$2
|
||||||
revfile=$3
|
revfile=$3
|
||||||
|
|
|
@ -6,7 +6,7 @@ set -e
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
libexec="${localbase}"/libexec/portzap
|
libexec="${localbase}"/libexec/portzap
|
||||||
git=$(which git)
|
git=$(which git)
|
||||||
mode="u=rwX,g=rX,o="
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir=$1
|
gitdir=$1
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue