From 0931b4feaf6b154e813e4aad80d85fd3b70726a1 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 8 Feb 2007 15:32:44 +0100 Subject: [PATCH] wineshelllink: Use "=" instead of "==" to compare strings. --- tools/wineshelllink | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wineshelllink b/tools/wineshelllink index 07334dc7ae3..acae7b3d0c9 100755 --- a/tools/wineshelllink +++ b/tools/wineshelllink @@ -101,7 +101,7 @@ directory_entry() [Desktop Entry] Type=Directory EOF - if [ "$1" == "wine" ] ; then + if [ "$1" = "wine" ] ; then echo "Name=Wine" echo "Icon=wine" else @@ -208,7 +208,7 @@ if [ $mode = "menu" ] ; then mkdir -p "$xdg_data_dir/applications/wine/`dirname "$link"`" linkpath=`dirname "$link" | sed 's!/!-!g'` - if [ "$linkpath" == "." ] ; then + if [ "$linkpath" = "." ] ; then linkpath="" else linkpath="-$linkpath"