Hans Leidekker : wineshelllink: Use "=" instead of "==" to compare
strings.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 9 08:22:06 CST 2007
Module: wine
Branch: master
Commit: 0931b4feaf6b154e813e4aad80d85fd3b70726a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0931b4feaf6b154e813e4aad80d85fd3b70726a1
Author: Hans Leidekker <hans at 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"
More information about the wine-cvs
mailing list