Closed emini closed 9 years ago
I think this article may have some insight. http://unix.stackexchange.com/questions/45781/shell-script-fails-syntax-error-unexpected I am also have this syntax error.
The driver is not a shell script On Jan 2, 2015 9:26 PM, "TheDJ42" notifications@github.com wrote:
I think this article may have some insight. http://unix.stackexchange.com/questions/45781/shell-script-fails-syntax-error-unexpected I am also have this syntax error.
— Reply to this email directly or view it on GitHub https://github.com/ToadKing/wii-u-gc-adapter/issues/9#issuecomment-68584078 .
Then I have no idea why I'm getting this. Running it as root finally works though.
So after working through it, I figured it out. The command that emini is running is probably "sudo sh wii-u-controller-adapter" which is incorrect, the command that you should be running is "(sudo) ./wii-u-controller-adapter" (in the directory that the program is in of course."
wii-u-gc-adapter: 1: wii-u-gc-adapter: Syntax error: "(" unexpected
Xubuntu 14.04.1 Packages used: libudev-dev 204-5ubuntu20, libusb-1.0-0-dev 2:1.0.17-ubuntu