Try set pwd
This commit is contained in:
parent
decd8304a3
commit
f07c773adf
|
@ -9,7 +9,7 @@ set -e
|
||||||
# Allow the workdir to be set using an env var.
|
# Allow the workdir to be set using an env var.
|
||||||
# Useful for CI pipiles which use docker for their build steps
|
# Useful for CI pipiles which use docker for their build steps
|
||||||
# and don't allow that much flexibility to mount volumes
|
# and don't allow that much flexibility to mount volumes
|
||||||
SRCDIR=$1
|
SRCDIR=$(pwd)/$1
|
||||||
WORKDIR=${SRCDIR:-/src}
|
WORKDIR=${SRCDIR:-/src}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue