feat: fallback to busybox dos2unix

This commit is contained in:
MDLeom 2022-11-03 08:50:36 +00:00
parent ff3773ab9f
commit 9965b32171
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ if [ -z "$(grep --help | grep 'GNU')" ]; then
fi
## Fallback to busybox dos2unix
if ! command -v dos2unix &> /dev/null
then
alias dos2unix="busybox dos2unix"
fi
## Create a temporary working folder
mkdir -p "tmp/"
cd "tmp/"