Assign ${mode} in portzap-install

This commit is contained in:
0x1eef 2024-04-19 23:40:03 -03:00
parent 300dd161c2
commit 318b893299

View file

@ -6,6 +6,7 @@ gitdir=$1
installdir=$2 installdir=$2
revfile=$3 revfile=$3
libexec=$(dirname "$0") libexec=$(dirname "$0")
mode="u=rwX,g=rwX,o="
## ##
# functions # functions
@ -63,7 +64,7 @@ if [ "$(id -u)" != "0" ]; then
fi fi
set -x set -x
umask u=rwX,g=rwX,o= umask "${mode}"
cd "${gitdir}" cd "${gitdir}"
set +x set +x
run_install "-d" "${installdir}" run_install "-d" "${installdir}"