]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix shellcheck issues opus.sh
authorBastian Dehn <hhaalo@arcor.de>
Fri, 3 Jul 2026 16:45:17 +0000 (18:45 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 3 Jul 2026 16:45:17 +0000 (18:45 +0200)
libs/opus.sh

index 19a2a917ec6b02449c79007c198d3e35aa054b5b..1a9c9127c36a9ea39b9b899a2d547dd6c6a19abe 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 flac_to_opus()
 {
        local inputfile="$1"
@@ -13,7 +15,7 @@ convert_flac_to_opus()
        local workdir="$1"
 
        export -f flac_to_opus
-       find $workdir -name *.flac \
+       find "$workdir" -name '*.flac' \
                | sort \
                | parallel --will-cite \
                --ungroup \