chg: [build] fix the overwrite

This commit is contained in:
Alexandre Dulaunoy 2023-05-19 10:38:34 +02:00
parent e505338831
commit 9722f79b3d
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -6,4 +6,4 @@ rm manifest.json robots.txt.tmp
mkdir ./feeds/circl/stix-2.1/ mkdir ./feeds/circl/stix-2.1/
cd ./feeds/circl/stix-2.1/ cd ./feeds/circl/stix-2.1/
ls -1 ../misp/*-*.json | parallel "misp_stix_converter -v2.1 -e -f {}" ls -1 ../misp/*-*.json | parallel "misp_stix_converter -v2.1 -e -f {}"
mmv "../misp/*.json.out" "#1.json" mmv -d "../misp/*.json.out" "#1.json"