summaryrefslogtreecommitdiff
path: root/TLD/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'TLD/generate.sh')
-rw-r--r--TLD/generate.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/TLD/generate.sh b/TLD/generate.sh
index 0d3b1d8..b05af33 100644
--- a/TLD/generate.sh
+++ b/TLD/generate.sh
@@ -1,5 +1,8 @@
#!/bin/bash
BASE=$(dirname "$0")
+if [ -f "$1" ]; then
+ cp "$1" "$BASE/tld_template.js"
+fi
pushd "$BASE"
fname=public_suffix_list.dat
nflag=""