build: allow the docker build script to be sourced by downstream repository.
This commit is contained in:
parent
334b48749a
commit
b752ff540c
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ readonly VOLUME=/tmp/build
|
||||||
readonly BUILDIR=/home/build/tmp
|
readonly BUILDIR=/home/build/tmp
|
||||||
readonly OUTDIR=".pkg"
|
readonly OUTDIR=".pkg"
|
||||||
readonly OUTPUT="$PWD/$OUTDIR"
|
readonly OUTPUT="$PWD/$OUTDIR"
|
||||||
readonly COMMAND="$1"
|
readonly COMMAND="${1:-}"
|
||||||
VERSION="0.$(git rev-list --count HEAD)"
|
VERSION="0.$(git rev-list --count HEAD)"
|
||||||
PACKAGER="$(git config user.name) <$(git config user.email)>"
|
PACKAGER="$(git config user.name) <$(git config user.email)>"
|
||||||
readonly VERSION PACKAGER
|
readonly VERSION PACKAGER
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue