contrib/checksums: output to stdout...

... and let the Makefile redirect.
This commit is contained in:
Christian Hesse 2025-10-30 11:07:38 +01:00
parent 83b164d511
commit 7d701483d3
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ all: $(CAPSMAN) $(LOCAL) $(WIFI) $(HTML) checksums.json
< $< > $@ < $< > $@
checksums.json: contrib/checksums.sh *.rsc */*.rsc checksums.json: contrib/checksums.sh *.rsc */*.rsc
contrib/checksums.sh contrib/checksums.sh > $@
clean: clean:
rm -f $(HTML) checksums.json rm -f $(HTML) checksums.json

View file

@ -6,4 +6,4 @@ set -e
md5sum $(find -name '*.rsc' | sort) | \ md5sum $(find -name '*.rsc' | sort) | \
sed -e "s| \./||" -e 's|.rsc$||' | \ sed -e "s| \./||" -e 's|.rsc$||' | \
jq --raw-input --null-input '[ inputs | split (" ") | { (.[1]): (.[0]) }] | add' > 'checksums.json' jq --raw-input --null-input '[ inputs | split (" ") | { (.[1]): (.[0]) }] | add'