Gordons Projects

--> Projects Top-Level GIT

Build system: Add missing set -e
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Sep 2015 23:30:16 +0000 (23:30 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 9 Sep 2015 23:30:16 +0000 (23:30 +0000)
So that shell scripts do not blunder on after errors.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
build
examples/blink.sh
examples/q2w/blink.sh
gpio/newVersion

diff --git a/build b/build
index d38ad1b..7c05087 100755 (executable)
--- a/build
+++ b/build
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # build
 #      Simple wiringPi build and install script
index 7755383..3975bb7 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # blink.sh:
 #      Standard "blink" program in wiringPi. Blinks an LED connected
index 2dee6c7..bb6107a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # blink.sh:
 #      Standard "blink" program in wiringPi. Blinks an LED connected
index b8728a5..b919743 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # newVersion:
 #      Utility to create the version.h include file for the gpio command.