On Mon, Aug 9, 2010 at 5:41 AM, Paul Chitescu <[email protected]> wrote: > On Monday 09 August 2010 01:23:24 pm Jerome Leclanche wrote: >> Hi >> >> After fixing a bug in MPQEdit related to opening directories, I >> noticed winepath returns a different result with and without quotes: >> >> a...@azura:~/.wine/drive_c$ winepath -w >> a...@azura:~/.wine/drive_c$ winepath -w "" >> C:\ >> >> With quotes it returns the current directory. Is that intended? If not >> I'll open a bug... >> >> >> >> J. Leclanche > > Yes, it's intended. winepath converts zero or more arguments. An empty > argument means "start from current dir... and print!" > > [pa...@bussard drive_c]$ winepath -w "" users "Program Files" > C:\ > C:\users > C:\Program Files
Then it seems there's still a bug: aus...@midna:~$ winepath -w ; echo $? 0 either a path should be returned or a non-zero status... -- -Austin
