Gordons Projects

--> Projects Top-Level GIT

examples/blink.sh: Add missing +x bit with chmod
[wiringPi] / examples / blink.sh
old mode 100644 (file)
new mode 100755 (executable)
index 2aa378a..3975bb7
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # blink.sh:
 #      Standard "blink" program in wiringPi. Blinks an LED connected
@@ -25,7 +25,7 @@
 
 # LED Pin - wiringPi pin 0 is BCM_GPIO 17.
 
-LED=0
+PIN=0
 
 gpio mode $PIN out