summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-29 16:02:06 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-29 16:02:06 +0000
commit593809c1a963eb8bc93c5722867e519793b6861d (patch)
tree9e5a0a0eeb6a5042be6ed96e687ca76a7d6d6c48 /tools/rockboxdev.sh
parent3e4c9f760bb10865b1cf4d6ba942387d7843ec28 (diff)
downloadrockbox-593809c1a963eb8bc93c5722867e519793b6861d.tar.gz
rockbox-593809c1a963eb8bc93c5722867e519793b6861d.zip
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-xtools/rockboxdev.sh6
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Abort execution as soon as an error is encountered
4# That way the script do not let the user think the process completed correctly
5# and leave the opportunity to fix the problem and restart compilation where
6# it stopped
7set -e
8
3# this is where this script will store downloaded files and check for already 9# this is where this script will store downloaded files and check for already
4# downloaded files 10# downloaded files
5dlwhere="/tmp/rbdev-dl" 11dlwhere="/tmp/rbdev-dl"