blob: ddc93a900782e6173b68d0510840f116b82ba208 [file] [log] [blame]
#!/bin/bash
set -e
set -o pipefail
if ! [ -x "$(command -v go)" ]
then
echo "error: a go binary in \$PATH is required to run newgtlds.go" >&2
exit 1
fi
BASEDIR=$(dirname "$0")
go run "$BASEDIR/newgtlds.go" \
-overwrite \
-psl-dat-file="$BASEDIR/../public_suffix_list.dat"