From 06e2943706929175be7c9007a7221d1c928658a8 Mon Sep 17 00:00:00 2001 From: Plamen Nedkov Date: Wed, 25 Apr 2018 13:12:18 -0700 Subject: [PATCH] Fix parsing the track padding When PADTRACKS=n the trac padding is 3 digits --- abcde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abcde b/abcde index 1d2d0b6..2df1f4a 100755 --- a/abcde +++ b/abcde @@ -5547,7 +5547,7 @@ if [ "$KEEPWAVS" = "y" ];then fi # Check if we have moved all the formats we had previously encoded, if we are not using the FORCE. if [ "$DOCLEAN" = "y" ] && [ ! "$FORCE" = "y" ]; then - ENCODED_FORMATS=$(grep -E "^encodetrack-(.{3,6})-(.{1,2})$" "${ABCDETEMPDIR}/status" | cut -d"-" -f2 | sort -u | tr '\n' '|') + ENCODED_FORMATS=$(grep -E "^encodetrack-(.{3,6})-(.{1,3})$" "${ABCDETEMPDIR}/status" | cut -d"-" -f2 | sort -u | tr '\n' '|') MOVED_FORMATS=$(grep -E "^movetrack-output-(.{3,6})$" "${ABCDETEMPDIR}/status" | cut -d"-" -f3 | sort -u | tr '\n' '|') if [ "$ENCODED_FORMATS" != "$MOVED_FORMATS" ]; then log warning "The encoded formats does not match with the moved ones"