From a18dfef8bff262d957e312bd55c36cf74d4eba63 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 28 Dec 2010 16:21:08 +0100 Subject: create $LIBUI_TMP_DIR on startup $LIBUI_TMP_DIR might not exist. Note that the mkdir could fail, in case the default libui-sh settings (which use /tmp) don't work on the target system, in that case, it's up to the user to init with a different directory spec, and if he will see issues sooner or later. --- libui.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.2