From 593809c1a963eb8bc93c5722867e519793b6861d Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 29 Oct 2008 16:02:06 +0000 Subject: Make rockboxdev.sh abort as soon as an error is encountered git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18923 a1c6a512-1295-4272-9138-f99709370657 --- tools/rockboxdev.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index eb36a8ff66..0d07b32821 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -1,5 +1,11 @@ #!/bin/sh +# Abort execution as soon as an error is encountered +# That way the script do not let the user think the process completed correctly +# and leave the opportunity to fix the problem and restart compilation where +# it stopped +set -e + # this is where this script will store downloaded files and check for already # downloaded files dlwhere="/tmp/rbdev-dl" -- cgit v1.2.3