#!/usr/bin/bash
set -ex

if [[ -n $1 ]]
then
  cd $1
fi
sha256sum $(spectool -gf *.spec | rg Downloaded | awk '{print $2}') >| checksum
