From d70225eb83e953fe770fe980d9c8d8ead9071f27 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 24 Mar 2010 23:09:33 +0100 Subject: bash syntax fixes --- libui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libui.sh b/libui.sh index 4ae1f55..6455cac 100644 --- a/libui.sh +++ b/libui.sh @@ -14,11 +14,11 @@ libui-sh-init () { LIBUI_UI=${1:-cli} LIBUI_TMP_DIR=/tmp - if [ -n "$2"]; then + if [ -n "$2" ]; then LIBUI_TMP_DIR=$2 fi LIBUI_LOG=0 - if [ -n "$3"]; then + if [ -n "$3" ]; then LIBUI_LOG=1 LIBUI_LOG_FILE=$3 LIBUI_LOG_DIR=$(basename $LIBUI_LOG_FILE) -- cgit v1.2.2