Assign ${mode} before command line args
This commit is contained in:
parent
43168585f0
commit
e17ecd9244
3 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,9 @@ set -e
|
|||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||
git="${localbase}"/bin/git
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
commit=$2
|
||||
mode=u=rwX,g=rX,o=
|
||||
|
||||
##
|
||||
# functions
|
||||
|
|
|
@ -5,9 +5,9 @@ set -e
|
|||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||
git="${localbase}"/bin/git
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
commit=$2
|
||||
mode=u=rwX,g=rX,o=
|
||||
|
||||
##
|
||||
# functions
|
||||
|
|
|
@ -5,8 +5,8 @@ set -e
|
|||
# variables
|
||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||
git="${localbase}"/bin/git
|
||||
gitdir=$1
|
||||
mode=u=rwX,g=rX,o=
|
||||
gitdir=$1
|
||||
|
||||
##
|
||||
# functions
|
||||
|
|
Loading…
Reference in a new issue