diff --git a/build.sh b/build.sh index 2aeac4c..bf3b0c6 100755 --- a/build.sh +++ b/build.sh @@ -103,6 +103,7 @@ docker build . --tag bitwarden-patched --file "$PWD/src/bitBetter/Dockerfile-bit # start all user requested instances if [ -f "$PWD/.servers/serverlist.txt" ]; then + # convert line endings to unix sed -i 's/\r$//' "$PWD/.servers/serverlist.txt" cat "$PWD/.servers/serverlist.txt" | while read -r LINE; do if [[ $LINE != "#"* ]]; then