diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-29 16:02:06 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-29 16:02:06 +0000 |
commit | 593809c1a963eb8bc93c5722867e519793b6861d (patch) | |
tree | 9e5a0a0eeb6a5042be6ed96e687ca76a7d6d6c48 /tools/rockboxdev.sh | |
parent | 3e4c9f760bb10865b1cf4d6ba942387d7843ec28 (diff) |
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
Diffstat (limited to 'tools/rockboxdev.sh')
-rwxr-xr-x | tools/rockboxdev.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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" |