summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-03-27 16:11:43 +0200
committerAndreas Maunz <andreas@maunz.de>2012-03-27 16:11:43 +0200
commit81edb34661f9ae2715a939e11923d86b4262fe43 (patch)
tree814c5858bb74fd4ed0819f009d301db4e73da58d
parentc42950c2173eb2e32125c92fab6df681ccf8d2da (diff)
Fixed log dir creation
-rwxr-xr-xutils.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.sh b/utils.sh
index 6003855..5cfec28 100755
--- a/utils.sh
+++ b/utils.sh
@@ -7,8 +7,8 @@ check_dest()
echo "Could not create OT_PREFIX directory! Aborting..."
exit 1
fi
- [ -d "$HOME/.opentox" ] || mkdir -p "$HOME/.opentox"
- if ! [ -d "$HOME/.opentox" ]; then
+ [ -d "$HOME/.opentox/log" ] || mkdir -p "$HOME/.opentox/log"
+ if ! [ -d "$HOME/.opentox/log" ]; then
echo "Could not create CONFIG (~/.opentox) directory! Aborting..."
exit 1
fi