mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-11 05:56:55 +03:00
fix: Remove non-existent filename variable
This commit is contained in:
@@ -248,7 +248,7 @@ download_to_file() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if grep -q $'\r' "$filepath"; then
|
if grep -q $'\r' "$filepath"; then
|
||||||
log "$filename has Windows line endings (CRLF). Converting to Unix (LF)"
|
log "Downloaded file has Windows line endings (CRLF). Converting to Unix (LF)"
|
||||||
sed -i 's/\r$//' "$filepath"
|
sed -i 's/\r$//' "$filepath"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user