[pkg-wine-party] Bug#733344: /usr/bin/wine broken

Ariel aog2000a at gmail.com
Sun Dec 29 23:41:20 UTC 2013

The new (wrt Wine 1.4) wine wrapper /usr/bin/wine which tries to automatically 
handle 32-64 bit architectures has several issues:

- it can't handle "native windows" paths (worked fine with 1.4)
- it can't handle paths with spaces or special characters (see below *)
- it can't handle old 16 bit executables nor symlinks (see #733294 - 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733294 )

*) File-paths with spaces and other special chars are not correctly escaped in 
the wrapper:
	file=$(file -b $1)
should be changed to 
	file=$(file -b "$1")
otherwise spaces in the path for instance break the command, giving "file not 

(and strictly speaking echo $file   -->  echo "$file" 
also, even if it doesn't affect the result)

The "if" statement should probably also include a check for 
"$kind" = "MS-DOS" for 16 bit executables

Not sure how to handle native windows paths in this wrapper...

More information about the pkg-wine-party mailing list