From: Steven Baltakatei Sandoval Date: Wed, 29 May 2024 03:59:55 +0000 (+0000) Subject: chore(user/mp3s_to_mkv.sh):Minor syntax cleanup X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/c21cf1161003f00b20da69cd9054220cea9268eb?ds=inline chore(user/mp3s_to_mkv.sh):Minor syntax cleanup --- diff --git a/user/mp3s_to_mkv.sh b/user/mp3s_to_mkv.sh index e8e88ba..b7fd29e 100755 --- a/user/mp3s_to_mkv.sh +++ b/user/mp3s_to_mkv.sh @@ -51,7 +51,7 @@ get_media_length() { # Output: stdout: seconds (float) # Depends: ffprobe 4.1.8 # BK-2020-03: die() - local file_in + local file_in; file_in="$1"; if [[ ! -f $file_in ]]; then die "ERROR:Not a file:$file_in"; @@ -97,7 +97,7 @@ build_filelist_and_chapters() { echo "title=$(basename "$filename" .mp3)"; } >> "$file_chapters"; - chapter_start=$chapter_end + chapter_start=$chapter_end; done # Return to original dir @@ -142,4 +142,3 @@ main "$@"; # Author: Steven Baltakatei Sandoval # License: GPLv3+ -