Skip to content

Commit

Permalink
Convert paths with cygpath if available in build-docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tcv-git committed May 5, 2020
1 parent 08fc0b9 commit 96af3a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 96af3a3

Please sign in to comment.