From b09ebf67a7b0036f2f0f539ec6ee95d02d4c0cba Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 12 May 2013 09:46:28 +0000 Subject: epoch added his anonet ipv6 range to the db. not sure what I changed in add_dom... that's odd. --- scripts/add_dom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/add_dom b/scripts/add_dom index 89626f3..013ce18 100755 --- a/scripts/add_dom +++ b/scripts/add_dom @@ -4,7 +4,7 @@ if [ x"$2" = x ]; then echo "Usage: $0 [...]" >&2; exit 255 fi -dir=db/dom/"$(echo "$1" | tr . '\n' | tac | tr '\n' / | head -c -1)" +dir=db/dom/"$(echo "$1" | tr . '\n' | tac | tr '\n' / | ./scripts/head_-c_-1)" mkdir "$dir" || exit 1 echo "$2" > "$dir/owner" mkdir "$dir/ns" || exit 1 -- cgit v1.2.3