make OUTPUT subdirs

Simplifies compute programs.
This commit is contained in:
Joey Hess 2025-03-07 14:57:12 -04:00
parent b4becb7167
commit 2c6dce83de
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 5 additions and 2 deletions

View file

@ -110,6 +110,5 @@ An example `git-annex-compute-foo` shell script follows:
echo REPRODUCIBLE
if [ -n "$input" ]; then
mkdir -p "$(dirname "$output")"
frobnicate --passes="$ANNEX_COMPUTE_passes" <"$input" >"$output"
fi