Module: wine Branch: master Commit: 0931b4feaf6b154e813e4aad80d85fd3b70726a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0931b4feaf6b154e813e4aad80...
Author: Hans Leidekker hans@it.vu.nl Date: Thu Feb 8 15:32:44 2007 +0100
wineshelllink: Use "=" instead of "==" to compare strings.
---
tools/wineshelllink | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/wineshelllink b/tools/wineshelllink index 07334dc..acae7b3 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"