diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-28 16:21:08 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-28 16:21:12 +0100 |
commit | a18dfef8bff262d957e312bd55c36cf74d4eba63 (patch) | |
tree | 379fc3ee614d879cbdd94c1c7e3d9ffc65ddfa84 | |
parent | 3cee8e663a4da69456b493acccbda27064209a35 (diff) |
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.
-rw-r--r-- | libui.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |