tools/wineshelllink: Create links with WINEPREFIX.

This commit is contained in:
Lei Zhang 2007-02-13 15:01:26 -08:00 committed by Alexandre Julliard
parent f407e9a05d
commit 9a3a144896
1 changed files with 1 additions and 1 deletions

View File

@ -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"