From 81edb34661f9ae2715a939e11923d86b4262fe43 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Tue, 27 Mar 2012 16:11:43 +0200 Subject: Fixed log dir creation --- utils.sh | 4 ++-- 1 file 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 -- cgit v1.2.3