diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-05 08:15:06 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-05 08:15:06 +0300 |
commit | 776d222eae20aed29ff2e4dbfcececec3c1f0efc (patch) | |
tree | 8c42ea934e0a190d5cd2fc04ab6608f3030f071f /bin/ak-sm-merkle-tree | |
parent | 0da28a5de5876e404009cd8dcd4aa131750bea83 (diff) | |
download | arching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.tar.gz arching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.tar.bz2 arching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.zip |
Removed 1 level of verbosity
Diffstat (limited to 'bin/ak-sm-merkle-tree')
-rwxr-xr-x | bin/ak-sm-merkle-tree | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/ak-sm-merkle-tree b/bin/ak-sm-merkle-tree index 4a45c0e..33d3842 100755 --- a/bin/ak-sm-merkle-tree +++ b/bin/ak-sm-merkle-tree @@ -161,14 +161,12 @@ do while [[ "$a" -lt "$totalChunks" ]] do b=`expr "$a" + 1` - printf "Lines of map: %s and %s of %s\n" "$a" "$b" "$totalChunks" sed -n "$a"p "$workingIndex" | awk '{ print $1 }' >> level.$c.pair.$a-$b sed -n "$b"p "$workingIndex" | awk '{ print $1 }' >> level.$c.pair.$a-$b shaSum="$(sha512sum level.$c.pair.$a-$b | awk '{ print $1 }')" cp level.$c.pair.$a-$b $MERKLEDIR/$shaSum sha512sum level.$c.pair.$a-$b | awk '{ print $1 }' >> level.$c.map a=`expr "$a" + 2` - printf "Next thing: %s\n" "$a" done workingIndex="level.$c.map" shaSum=`sha512sum $workingIndex | awk '{ print $1 }'` |