summaryrefslogtreecommitdiff
path: root/scripts/add_dom
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2013-05-24 02:39:47 +0000
committerepoch <epoch@hacking.allowed.org>2013-05-24 02:39:47 +0000
commit59c1751062b903e3e009afd6ec0effb3bf29f1c0 (patch)
tree5cdca1832eefcedd01c560264a2f2dabc855e0b9 /scripts/add_dom
parentb09ebf67a7b0036f2f0f539ec6ee95d02d4c0cba (diff)
parenta1eca4f2b495baa4f98e228e393a17f06ad3e95b (diff)
downloadresdb-59c1751062b903e3e009afd6ec0effb3bf29f1c0.tar.gz
resdb-59c1751062b903e3e009afd6ec0effb3bf29f1c0.zip
There was some werid stuff with add_dom went with what looked like the best
of the conflicting lines. Merge branch 'master' of git://1.4.7.7/resdb Conflicts: scripts/add_dom
Diffstat (limited to 'scripts/add_dom')
-rwxr-xr-xscripts/add_dom2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/add_dom b/scripts/add_dom
index 013ce18..b60a964 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' / | ./scripts/head_-c_-1)"
-mkdir "$dir" || exit 1
+mkdir -p "$dir" || exit 1
echo "$2" > "$dir/owner"
mkdir "$dir/ns" || exit 1
shift; shift;