aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-05 08:15:06 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-05 08:15:06 +0300
commit776d222eae20aed29ff2e4dbfcececec3c1f0efc (patch)
tree8c42ea934e0a190d5cd2fc04ab6608f3030f071f
parent0da28a5de5876e404009cd8dcd4aa131750bea83 (diff)
downloadarching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.tar.gz
arching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.tar.bz2
arching-kaos-tools-776d222eae20aed29ff2e4dbfcececec3c1f0efc.zip
Removed 1 level of verbosity
-rwxr-xr-xbin/ak-sm-merkle-tree2
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 }'`