cymplecy / scratch_gpio

Code for scratch_gpio_handler
42 stars 23 forks source link

Bug in decompress.sh #5

Closed tvoverbeek closed 10 years ago

tvoverbeek commented 10 years ago

I had problems installing scratchgpio5 on my Raspberry Pi. Culprit was the tail command in decompress.sh. There was no space between the '-n' and '+$ARCHIVE' option (decompress.sh line 10). I changed 'tail -n+$ARCHIVE $0 | tar xzv -C $TMPDIR' to 'tail -n +$ARCHIVE $0 | tar xzv -C $TMPDIR'. Then it worked OK. Do not know if there are versions of tail which work with no space between options.

cymplecy commented 10 years ago

Hi - although I push all my code up here so it should be right - the definitive (and supported) way of using its is detailed here http://cymplecy.wordpress.com/scratchgpio/scratch-raspberrypi-gpio/

The version there should work fine (its currently the same version as install_scratchgpio5.sh in the V5 branch but that can change) The blog always points to working version Try that and see if that works OK for you

Simon

tvoverbeek commented 10 years ago

Simon,

Apologies for the unnecessary noise. The version from the blog works fine. Do not know what happened. This is a non-issue. Closed.

Ton