fix compile path for cygwin

This commit is contained in:
Dániel Kovács 2018-07-06 08:34:44 +02:00 committed by rfscholte
parent 99f860bb4f
commit 9483d5ca43
1 changed files with 4 additions and 0 deletions

4
maven-wrapper/mvnw vendored
View File

@ -245,6 +245,10 @@ else
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
# For Cygwin, switch paths to Windows format before running javac
if $cygwin; then
javaClass=`cygpath --path --windows "$javaClass"`
fi
if [ -e "$javaClass" ]; then
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
if [ "$MVNW_VERBOSE" = true ]; then