Convert paths with cygpath if available in build-docker.sh
This commit is contained in:
parent
9a3a10bf10
commit
147404ef26
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user