gonzalo / gphoto2-updater

Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
http://github.com/gonzalo/gphoto2-updater
292 stars 71 forks source link

Syntax error #10

Closed freakazoidXXL closed 10 years ago

freakazoidXXL commented 10 years ago

After I run 'sudo ./gphoto2-updater.sh' I get an syntax error saying 'newline unexpected'! What should I do?

gonzalo commented 10 years ago

Very strange. Maybe your file is not correctly downloaded.

Try to download it again and I suggest to allow execution previously with "chmod +x gphoto2-updater.sh"

Please confirm if it works

freakazoidXXL commented 10 years ago

No, sorry - did not work.

Edit: Ok - I checked the downloaded .sh file and apparently it didn't downloaded correctly. I entered the sourcecode manually and now it works.

gonzalo commented 10 years ago

Ok so ignore my last email