From 4d5337a6a1b30ceb7ed87cc12d039af783ac76b5 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Wed, 23 Oct 2013 20:14:09 +0200 Subject: [PATCH] tc-audio-*: proper while read loops. --- .scripts/tc-audio-batch | 14 ++++++-------- .scripts/tc-audio-scan | 14 ++++---------- .scripts/tc-audio-transcode | 15 +++++++++------ 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/.scripts/tc-audio-batch b/.scripts/tc-audio-batch index 3f16997b..9bb8fdd9 100755 --- a/.scripts/tc-audio-batch +++ b/.scripts/tc-audio-batch @@ -94,21 +94,19 @@ _worker() CORE=$1 shift - ## WARNING: ffmpeg should not be called from within a while<$(tput sgr0) $file" [ $CPUNO -eq 1 ] && "${0%/*}"/tc-audio-transcode "$@" "$file" || \ tc-audio-transcode -q "$@" "$file" >/dev/null fi - done - IFS=$OLDIFS + done<