mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 09:59:28 +00:00
contrib/checksums.sh: output to stdout...
... and let the Makefile redirect.
This commit is contained in:
parent
df970f3366
commit
40a581e013
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue