SIMULATION environment variable now is tested against a string.

master get-tracks-0.1
Karchnu 2021-03-27 23:52:12 +01:00
parent 53314eca24
commit 824bbc7d6f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ run_ffmpeg(){
local duration=$3
local title=$4
if [ "${SIMULATION}" -eq 1 ]; then
if [ "${SIMULATION}" = 1 ]; then
[ -z "${QUIET}" ] && echo "ffmpeg -loglevel error -ss '$from' -t '$duration' -i '${file}' '${title}'"
else
[ -z "${QUIET}" ] && echo "ffmpeg -loglevel error -ss '$from' -t '$duration' -i '${file}' '${title}'"