You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nuTensor/assets/update-checksums.sh

16 lines
352 B
Bash

#!/bin/bash
#
# This script assumes a linux environment
echo "*** HTTP Switchboard: generating checksums.txt file..."
pushd ..
truncate -s 0 assets/checksums.txt
LIST="$(find assets/httpsb assets/thirdparties -type f)"
for ENTRY in $LIST; do
echo `md5sum $ENTRY` >> assets/checksums.txt
done
popd
echo "*** HTTP Switchboard: checksums updated."