From: Bastian Dehn Date: Fri, 25 Sep 2026 09:19:01 +0000 (+0200) Subject: change music path singular X-Git-Tag: v1.0.0^2~7^2~25 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=d4d2c91dada1c65c96433b5693ed7d60b21ebeee;p=albentohandy.git change music path singular --- 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