Let the version.sh script work with CRLF

This commit is contained in:
Markus Westerlind 2018-03-18 12:57:15 +01:00
parent 662e925107
commit 75783eb507

View File

@ -23,8 +23,8 @@ fi
echo "Found consistent version $VERSION"
perl -p -i -e 's/version *= *"[0-9.]+" # LALRPOP$/version = "'$1'" # LALRPOP/' \
perl -p -i -e 's/version *= *"[0-9.]+" # LALRPOP/version = "'$1'" # LALRPOP/' \
$(ls lalrpop*/Cargo.toml)
perl -p -i -e 's/version *= *"'$VERSION'"$/version = "'$1'"/' \
perl -p -i -e 's/version *= *"'$VERSION'"/version = "'$1'"/' \
$(find doc -name Cargo.toml)