From 47c62fac73da06226cbd2ec15ae78f099634454e Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 15 Feb 2016 15:52:14 +0100 Subject: [PATCH] [platform] fixes nasty typos in Unix startup script (IDEA-151688) --- bin/scripts/unix/idea.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/scripts/unix/idea.sh b/bin/scripts/unix/idea.sh index 8454f24a5963..ce5974673e5b 100755 --- a/bin/scripts/unix/idea.sh +++ b/bin/scripts/unix/idea.sh @@ -8,13 +8,13 @@ message() { TITLE="Cannot start @@product_full@@" - if [ -n `which zenity` ]; then + if [ -n "`which zenity`" ]; then zenity --error --title="$TITLE" --text="$1" - elif [ -n `which kdialog` ]; then + elif [ -n "`which kdialog`" ]; then kdialog --error --title "$TITLE" "$1" - elif [ -n `which xmessage` ]; then + elif [ -n "`which xmessage`" ]; then xmessage -center "ERROR: $TITLE: $1" - elif [ -n `which notify-send` ]; then + elif [ -n "`which notify-send`" ]; then notify-send "ERROR: $TITLE: $1" else echo "ERROR: $TITLE\n$1"