commit ce743a7eac5ddfd8d07b88bdc14cb55247cbdefd
parent aa0796d9bc928faa8b502281e73632c75ebf90a7
Author: finwo <finwo@pm.me>
Date: Wed, 18 Oct 2023 00:16:07 +0200
use tr, dos2unix isn't installed by default on gh-actions
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dist/dep b/dist/dep
@@ -70,7 +70,7 @@ function ini_foreach {
while read line; do
# Fix newlines
- line=$(echo $line | dos2unix)
+ line=$(echo $line | tr -d '\015')
# Remove surrounding whitespace
line=${line##*( )} # From the beginning
diff --git a/src/util/ini.sh b/src/util/ini.sh
@@ -18,7 +18,7 @@ function ini_foreach {
while read line; do
# Fix newlines
- line=$(echo $line | dos2unix)
+ line=$(echo $line | tr -d '\015')
# Remove surrounding whitespace
line=${line##*( )} # From the beginning