changeset 1116:f0ffda736b12 draft

add_dom bugfix
author Anonymous Coward <nobody@nowhere>
date Sat, 18 May 2013 04:43:59 +0000
parents fdc8a91c4ced
children 59b322800cc0
files scripts/add_dom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/add_dom	Thu May 16 02:15:42 2013 +0000
+++ b/scripts/add_dom	Sat May 18 04:43:59 2013 +0000
@@ -5,7 +5,7 @@
 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;