File: regenerate-metadata.sh

package info (click to toggle)
golang-github-theupdateframework-go-tuf 2.0.2%2B0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,908 kB
  • sloc: python: 164; makefile: 89; sh: 37
file content (14 lines) | stat: -rwxr-xr-x 199 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -eu

cd `dirname $0`

for d in consistent-snapshot-false consistent-snapshot-true; do
	if [[ -e $d ]]; then
		rm -r $d
	fi
done

go run generate.go
go run ../tools/linkify-metadata.go