mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
contrib/checksums.sh: output to stdout...
... and let the Makefile redirect.
This commit is contained in:
parent
9079f867f1
commit
fd94b7e76b
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -36,7 +36,7 @@ style.css: contrib/general/style.css
|
|||
< $< > $@
|
||||
|
||||
checksums.json: contrib/checksums.sh *.rsc */*.rsc
|
||||
contrib/checksums.sh
|
||||
contrib/checksums.sh > $@
|
||||
|
||||
clean:
|
||||
rm -f $(HTML) checksums.json
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ set -e
|
|||
|
||||
md5sum $(find -name '*.rsc' | sort) | \
|
||||
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