Convert paths with cygpath if available in build-docker.sh

This commit is contained in:
Tom Vajzovic 2020-05-05 06:34:23 +01:00
parent 9a3a10bf10
commit 147404ef26

View File

@ -44,6 +44,12 @@ else
source ${CONFIG_FILE}
fi
# Convert paths to DOS format under Cygwin/MSYS2
if test -x /usr/bin/cygpath; then
DIR=$(cygpath -da "$DIR")
CONFIG_FILE=$(cygpath -da "$CONFIG_FILE")
fi
CONTAINER_NAME=${CONTAINER_NAME:-pigen_work}
CONTINUE=${CONTINUE:-0}
PRESERVE_CONTAINER=${PRESERVE_CONTAINER:-0}