[encode_all] prevent from running on spurious hosts!

This commit is contained in:
LuKe Tidd 2023-11-19 10:06:20 -05:00
parent 2aeb355ce4
commit 4415a89b22
Signed by: luke
GPG Key ID: 75D6600BEF4E8E8F

View File

@ -1,6 +1,12 @@
#!/bin/bash
# encode_all encodes the whole library into specified format
#
if [[ "$HOSTNAME" != 'thrakkorzog' ]]; then
printf 'This should be run from thrakkorzog...\n' >&2
exit 1
fi
ulimit -n "$(ulimit -Hn)"
. env_parallel.bash