Fix running ./bin/portzap within repo
This commit is contained in:
parent
16b8119ee4
commit
59aa25d3c3
6 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@ set -e
|
||||||
##
|
##
|
||||||
# variables
|
# variables
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
git="${localbase}"/bin/git
|
git=$(which git)
|
||||||
mode=u=rwX,g=rX,o=
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir=$1
|
gitdir=$1
|
||||||
commit=$2
|
commit=$2
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -e
|
||||||
##
|
##
|
||||||
# variables
|
# variables
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
git="${localbase}"/bin/git
|
git=$(which git)
|
||||||
mode=u=rwX,g=rX,o=
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir=$1
|
gitdir=$1
|
||||||
commit=$2
|
commit=$2
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -e
|
||||||
##
|
##
|
||||||
# variables
|
# variables
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
git="${localbase}"/bin/git
|
git=$(which git)
|
||||||
mode=u=rwX,g=rX,o=
|
mode=u=rwX,g=rX,o=
|
||||||
gitdir=$1
|
gitdir=$1
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
git="${localbase}"/bin/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,11 +5,11 @@ set -e
|
||||||
# variables
|
# variables
|
||||||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../..)}
|
||||||
libexec="${localbase}"/libexec/portzap
|
libexec="${localbase}"/libexec/portzap
|
||||||
git="${localbase}"/bin/git
|
git=$(which git)
|
||||||
|
mode=u=rwX,g=rX,o=
|
||||||
giturl=$1
|
giturl=$1
|
||||||
gitdir=$2
|
gitdir=$2
|
||||||
branch=$3
|
branch=$3
|
||||||
mode=u=rwX,g=rX,o=
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# functions
|
# functions
|
||||||
|
|
|
@ -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
|
||||||
git="${localbase}"/bin/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