From 3ef934bbd444196be65725591fd0b519c1e90165 Mon Sep 17 00:00:00 2001 From: Anonymous Coward Date: Sat, 18 May 2013 04:43:59 +0000 Subject: add_dom bugfix --- scripts/add_dom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/add_dom') diff --git a/scripts/add_dom b/scripts/add_dom index 89626f3..34ccb0c 100755 --- a/scripts/add_dom +++ b/scripts/add_dom @@ -5,7 +5,7 @@ if [ x"$2" = x ]; then fi dir=db/dom/"$(echo "$1" | tr . '\n' | tac | tr '\n' / | head -c -1)" -mkdir "$dir" || exit 1 +mkdir -p "$dir" || exit 1 echo "$2" > "$dir/owner" mkdir "$dir/ns" || exit 1 shift; shift; -- cgit v1.2.3