2017-02-13 12:01:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
# Seeds sponge, from moreutils
|
|
|
|
|
2017-02-13 12:02:51 +01:00
|
|
|
for dir in ./*/machinetag.json
|
2017-02-13 12:01:05 +01:00
|
|
|
do
|
|
|
|
cat ${dir} | jq . | sponge ${dir}
|
|
|
|
done
|
|
|
|
|
|
|
|
cat schema.json | jq . | sponge schema.json
|
|
|
|
cat MANIFEST.json | jq . | sponge MANIFEST.json
|