todo
This commit is contained in:
parent
4ed7bed2d5
commit
b6805514b4
5
siglog
5
siglog
|
@ -65,12 +65,13 @@ verify_file() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_manifest() {
|
cmd_manifest() {
|
||||||
|
#TODO: If this is a git repo, use git to decide what files go in manifest
|
||||||
mkdir -p .siglog
|
mkdir -p .siglog
|
||||||
find . \
|
find . \
|
||||||
-type f \
|
-type f \
|
||||||
-not -path "./.git/*" \
|
-not -path "./.git/*" \
|
||||||
-not -path "./.siglog/*" \
|
-not -path "./.siglog/*" \
|
||||||
-exec openssl sha256 -r {} \; \
|
-exec openssl sha256 -r {} \; \
|
||||||
| sed 's/ \*/ /g' \
|
| sed 's/ \*/ /g' \
|
||||||
| LC_ALL=C sort -k2 \
|
| LC_ALL=C sort -k2 \
|
||||||
> .siglog/manifest.txt
|
> .siglog/manifest.txt
|
||||||
|
|
Loading…
Reference in New Issue