From: Bastian Dehn Date: Sun, 27 Sep 2026 07:09:21 +0000 (+0200) Subject: change checksum exclude is implicit X-Git-Tag: v1.0.1^2~4 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=b11193970142c0a8dbef711631421de280daa96c;p=albentohandy.git change checksum exclude is implicit --- diff --git a/src/albentohandy b/src/albentohandy index c01f9bb..02dc343 100755 --- a/src/albentohandy +++ b/src/albentohandy @@ -126,7 +126,6 @@ calc_checksum() cd "$OUTPUT_PATH" || return $? find . -type f -regex '.*\(\.ogg\|\.mp3\|\.opus\|\.flac\)' \ | sort \ - | sed '/checksum/d' \ | xargs sha256sum > checksum.sha256 } diff --git a/tests/albentohandy.bats b/tests/albentohandy.bats index 230ff60..f84a41d 100755 --- a/tests/albentohandy.bats +++ b/tests/albentohandy.bats @@ -566,6 +566,7 @@ teardown() { echo "testfile5" > "build/tests/output/Artist1/Album1/other" echo "testfile6" > "build/tests/output/Artist1/Album1/other.txt" echo "testfile7" > "build/tests/output/Artist1/Album1/cover.jpg" + echo "testfile8" > "build/tests/output/Artist1/Album1/checksum.sha256" run main -i "build/tests/albumlist"