Module: wine Branch: master Commit: 9a3a144896e2acf6c40e8e90a17b3478622d8450 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a3a144896e2acf6c40e8e90a1...
Author: Lei Zhang thestig@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"