Explorar el Código

Remove BOM symbols before proceeding in cuetag.sh

master
RinRi hace 1 año
padre
commit
996c31e505
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      src/tools/cuetag.sh

+ 4
- 1
src/tools/cuetag.sh Ver fichero

@@ -176,7 +176,8 @@ main()
exit
fi

cue_file=$1
sed '1s/^\xEF\xBB\xBF//' < $1 > temp-cuetag-sh.cue
cue_file=temp-cuetag-sh.cue
shift

ntrack=$(cueprint -d '%N' "$cue_file")
@@ -214,6 +215,8 @@ main()
esac
trackno=$(($trackno + 1))
done

rm -f temp-cuetag-sh.cue
}

main "$@"

Cargando…
Cancelar
Guardar