Mercurial > hg > anonet-resdb
diff scripts/add_dom @ 1116:f0ffda736b12 draft
add_dom bugfix
author | Anonymous Coward <nobody@nowhere> |
---|---|
date | Sat, 18 May 2013 04:43:59 +0000 |
parents | 31e3b4edf502 |
children | 5645d1ed79c5 |
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;