summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/libui.sh b/libui.sh
index 2056ccd..3221c21 100644
--- a/libui.sh
+++ b/libui.sh
@@ -22,6 +22,7 @@ libui_sh_init ()
LIBUI_TMP_DIR=/tmp
if [ -n "$2" ]; then
LIBUI_TMP_DIR=$2
+ mkdir -p $LIBUI_TMP_DIR 2>/dev/null
fi
LIBUI_LOG=0
if [ -n "$3" ]; then