Skip to content

Commit

Permalink
this is so stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcin committed Sep 8, 2019
1 parent 2146556 commit b0ac9bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mvnw
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ else
else
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar"
fi
while IFS="=" read key value; do
readdel=$"\n"
if $cygwin; then
readdel=$"\r\n"
fi
while IFS="=" read -d"$readdel" key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
esac
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
Expand Down

0 comments on commit b0ac9bd

Please sign in to comment.