chiark / gitweb /
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 d38ad1ba9c188e8a7bf1eaba97992d5417698b2f..7c050871ec7774590e90e9bc500775e790e0ade7 100755 (executable)
--- a/build
+++ b/build
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # build
 #      Simple wiringPi build and install script
index 77553836ec7aa7911fd165efe891f1f26573a4c0..3975bb78d4f8a3f29a8e252e73d8d3bca0b4afd0 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # blink.sh:
 #      Standard "blink" program in wiringPi. Blinks an LED connected
index 2dee6c736702d4d8d59cfd9cc83b8546612e2197..bb6107a276789d1465b56464e5fde6581ef66636 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # blink.sh:
 #      Standard "blink" program in wiringPi. Blinks an LED connected
index b8728a5f6762c50fd7f55d12fec02d6becc8bb56..b9197434c3c357dc36193cf09c97e9ebee0975a8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 #
 # newVersion:
 #      Utility to create the version.h include file for the gpio command.