Try set pwd

This commit is contained in:
Fizban 2020-06-03 00:07:18 +10:00
parent decd8304a3
commit f07c773adf
1 changed files with 1 additions and 1 deletions

View File

@ -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}
# #