[Wine] Re: Mac OS X Wine installation

DaveLevy wineforum-user at winehq.org
Sun Dec 6 04:33:20 CST 2009


Leoengr205 wrote:
> So I've all that you've said but when I type winetricks --help i get: 
> -bash: winetricks: command not found


When I read this I wondered if the first line of the script, usually designed to force a specific shell was the problem,


Code:

B$ cd /usr/local/bin
B$ sudo bash
# curl http://www.kegel.com/wine/winetricks > winetricks
# chmod +x winetricks
# head -1 winetricks
#!/bin/sh
# exit
B$ ./winetricks --version





all works for me. winetricks runs in sh, which is in /bin, as is bash. mind you 

Code:

$ pwd
/Users/Me
$ bash winetricks --version



also works, which surprises me, since I'd expect it not to be able to find the file /usr/local/bin/winetricks.

if you are still having problems, please post the output from 

echo $PATH
echo $SHELL
type -p bash
type -p sh
locate winetricks







More information about the wine-users mailing list