Lei Zhang : tools/wineshelllink: Create links with WINEPREFIX.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 14 09:25:55 CST 2007
Module: wine
Branch: master
Commit: 9a3a144896e2acf6c40e8e90a17b3478622d8450
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a3a144896e2acf6c40e8e90a17b3478622d8450
Author: Lei Zhang <thestig at google.com>
Date: Tue Feb 13 15:01:26 2007 -0800
tools/wineshelllink: Create links with WINEPREFIX.
---
tools/wineshelllink | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/wineshelllink b/tools/wineshelllink
index ad11b8c..55a1942 100755
--- a/tools/wineshelllink
+++ b/tools/wineshelllink
@@ -87,7 +87,7 @@ desktop_entry()
cat <<EOF
[Desktop Entry]
Name=$linkname
-Exec=wine "$path" $args
+Exec=env WINEPREFIX="${WINEPREFIX:-$HOME/.wine}" wine "$path" $args
Type=Application
EOF
[ -z "$descr" ] || echo "Comment=$descr"
More information about the wine-cvs
mailing list