From d4d2c91dada1c65c96433b5693ed7d60b21ebeee Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 25 Sep 2026 11:19:01 +0200 Subject: [PATCH] change music path singular --- src/albentohandy | 4 ++-- tests/albentohandy.bats | 2 +- tests/test.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/albentohandy b/src/albentohandy index 3b26c10..2525810 100755 --- a/src/albentohandy +++ b/src/albentohandy @@ -28,8 +28,8 @@ load_config() || return $? source "$CONFIG_FILE" - [ -n "$MUSIC_PATHES" ] \ - || errlog "missing MUSIC_PATHES in $CONFIG_FILE" \ + [ -n "$MUSIC_PATH" ] \ + || errlog "missing MUSIC_PATH in $CONFIG_FILE" \ || return $? LIB_PATH=${LIB_PATH:-"$scriptpath/lib"} OUTPUT_PATH=${OUTPUT_PATH:-"work.$$"} diff --git a/tests/albentohandy.bats b/tests/albentohandy.bats index dff5dae..71af4aa 100755 --- a/tests/albentohandy.bats +++ b/tests/albentohandy.bats @@ -45,7 +45,7 @@ teardown() { run main assert_failure - assert_line --index 0 "❌ ERROR: missing MUSIC_PATHES in build/tests/albentohandy.conf" + assert_line --index 0 "❌ ERROR: missing MUSIC_PATH in build/tests/albentohandy.conf" } @test "failed: lib vorbis.sh not found" { diff --git a/tests/test.conf b/tests/test.conf index 8853183..be8ab0b 100644 --- a/tests/test.conf +++ b/tests/test.conf @@ -1,2 +1,2 @@ -MUSIC_PATHES=("build/tests/music") +MUSIC_PATH="build/tests/music" OUTPUT_PATH="build/tests/output" \ No newline at end of file -- 2.47.3