1
0
mirror of https://github.com/pisto/oggify synced 2024-12-22 22:56:58 +00:00

Do not strip \0 in filenames

unlikely that strings in bash can hold them in any case
This commit is contained in:
Lorenzo Pistone 2019-02-17 02:02:35 +01:00 committed by GitHub
parent 99f61a7e85
commit 9d76391b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
set -e
fname=$(echo "${4} - ${2}.ogg" | tr '/' - | tr '\0' ' ')
fname=$(echo "${4} - ${2}.ogg" | tr '/' -)
cat > "$fname"
{
echo "SPOTIFY_ID=${1}"