fix wrapper path for cygwin

This commit is contained in:
Dániel Kovács 2018-08-07 09:52:09 +02:00 committed by rfscholte
parent 9483d5ca43
commit 7c7cf365f2
1 changed files with 3 additions and 0 deletions

3
maven-wrapper/mvnw vendored
View File

@ -220,6 +220,9 @@ else
echo "Downloading from: $jarUrl"
fi
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
if $cygwin; then
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
fi
if command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then