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
|
||||
revfile=$3
|
||||
libexec=$(dirname "$0")
|
||||
mode="u=rwX,g=rwX,o="
|
||||
|
||||
##
|
||||
# functions
|
||||
|
@ -63,7 +64,7 @@ if [ "$(id -u)" != "0" ]; then
|
|||
fi
|
||||
|
||||
set -x
|
||||
umask u=rwX,g=rwX,o=
|
||||
umask "${mode}"
|
||||
cd "${gitdir}"
|
||||
set +x
|
||||
run_install "-d" "${installdir}"
|
||||
|
|
Loading…
Reference in a new issue