aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'amd64-hardened/build.sh')
-rwxr-xr-xamd64-hardened/build.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/amd64-hardened/build.sh b/amd64-hardened/build.sh
index 83bbbed..cbe178b 100755
--- a/amd64-hardened/build.sh
+++ b/amd64-hardened/build.sh
@@ -1,11 +1,8 @@
# First param is package tarball, 2nd is the *.DIGEST file
VerifyShaOfStage3()
{
- #echo $1 $2
- #ls -l $1 $2
test_sum=$(awk -v myvar="$1" '$2==myvar {for(i=1; i<=1; i++) { print $1; exit}}' $2)
calculated_sum=$(sha512sum $1 | awk '{print $1}' -)
- #echo aaaa $test_sum bbb $calculated_sum
if [[ "$test_sum" == "$calculated_sum" ]]; then
return 0
else