^M present in liquibase unix running file (from jar on maven repo)

Description

Here are the steps to reproduce :

mkdir /tmp/test
cd /tmp/test/
wget http://repo1.maven.org/maven2/org/liquibase/liquibase-core/3.0.2/liquibase-core-3.0.2.jar
ls
unzip liquibase-core-3.0.2.jar
ls
cd dist/
ls
chmod u+x liquibase

./liquibase

bash: ./liquibase: /bin/sh^M: bad interpreter: No such file or directory

The workaround is to pass a dos2unix commande, but it's not clean. This behavior is only available on the jar that comes from the maven repo : official build is perfectly fine.

Environment

linux

Reporter

Adrien SALES

Components

Fix versions

Affects versions

Priority

Major
Configure