Assign ${mode} in portzap-install
This commit is contained in:
parent
300dd161c2
commit
318b893299
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue