aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-01-12 11:08:53 +0100
committerMattias Andrée <m@maandree.se>2025-01-12 11:08:53 +0100
commit38341cb366702a44a655239e6ff163a38ca4e9a5 (patch)
tree0c107eabf667ed5e2b4270816e11d667da4eb096
parentAdd README (diff)
downloadffutils-38341cb366702a44a655239e6ff163a38ca4e9a5.tar.gz
ffutils-38341cb366702a44a655239e6ff163a38ca4e9a5.tar.bz2
ffutils-38341cb366702a44a655239e6ff163a38ca4e9a5.tar.xz
ffextract-audio: Fix recusion support
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rwxr-xr-xffextract-audio2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffextract-audio b/ffextract-audio
index 24ca2c1..f72425f 100755
--- a/ffextract-audio
+++ b/ffextract-audio
@@ -73,7 +73,7 @@ fi
recursive () {
for in_file in "${1}/"*; do
out_file="$2/$(basename -- "${in_file}")"
- if test -d "$f"; then
+ if test -d "${in_file}"; then
mkdir -p -- "${out_file}"
recursive "${in_file}" "${out_file}"
else