chore(user/mp3s_to_mkv.sh):Minor syntax cleanup
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 29 May 2024 03:59:55 +0000 (03:59 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Wed, 29 May 2024 03:59:55 +0000 (03:59 +0000)
user/mp3s_to_mkv.sh

index e8e88baa1e88304ec85429af0f8eca71891319ee..b7fd29e33da7fc2080d8f9c0467902a91e86586b 100755 (executable)
@@ -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+
-