summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-03-24 23:09:33 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-03-24 23:09:33 +0100
commitd70225eb83e953fe770fe980d9c8d8ead9071f27 (patch)
tree643932ed931f98a6ee5cfe1eed77b1f715292e60
parent8a3f7b686cb395b96695bf13365e81a0d48d70e5 (diff)
bash syntax fixes
-rw-r--r--libui.sh4
1 files 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)