walt-id / waltid-walletkit

Toolkit for SSI and NFT/SBT wallets
https://docs.walt.id
Apache License 2.0
31 stars 25 forks source link

Fix line ending to "LF" in "gradlew" so the Docker build works when the repository is checkout in Windows #29

Closed drandarov-io closed 2 years ago

drandarov-io commented 2 years ago

I struggled with the following error for multiple hours:

image

The problem was the line ending of the file gradlew being CRLF instead of LF after cloning. I last encountered it a few years ago, so I forgot this could be a problem. This could prevent someone else wasting so much time on this error.

Note: This might have something to do with the git distribution one is using, since the behavior can also be set globally. I'm using the x64 portable distribution from here, which does not set this behavior: https://git-scm.com/download/win

mikeplotean commented 2 years ago

indeed, reproducible on the x64 portable distribution thanks for you contribution!