From: Ian Jackson Date: Wed, 9 Sep 2015 23:30:16 +0000 (+0000) Subject: Build system: Add missing set -e X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=wiringPi.git;a=commitdiff_plain;h=95a292824ff9188f013fc230f432acf1a8b1092f Build system: Add missing set -e So that shell scripts do not blunder on after errors. Signed-off-by: Ian Jackson --- diff --git a/build b/build index d38ad1b..7c05087 100755 --- a/build +++ b/build @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # build # Simple wiringPi build and install script diff --git a/examples/blink.sh b/examples/blink.sh index 7755383..3975bb7 100644 --- a/examples/blink.sh +++ b/examples/blink.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # # blink.sh: # Standard "blink" program in wiringPi. Blinks an LED connected diff --git a/examples/q2w/blink.sh b/examples/q2w/blink.sh index 2dee6c7..bb6107a 100755 --- a/examples/q2w/blink.sh +++ b/examples/q2w/blink.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # # blink.sh: # Standard "blink" program in wiringPi. Blinks an LED connected diff --git a/gpio/newVersion b/gpio/newVersion index b8728a5..b919743 100755 --- a/gpio/newVersion +++ b/gpio/newVersion @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # # newVersion: # Utility to create the version.h include file for the gpio command.