From 01bf98a5909a1d373c3e1d3e0d30f9d72dc835af Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 29 Jul 2012 21:20:44 +0000 Subject: exit if any of the commands failed --- modules/buildsystem/templates/binrepo/upload-bin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/buildsystem/templates/binrepo/upload-bin b/modules/buildsystem/templates/binrepo/upload-bin index c67f045a..4cb0459d 100755 --- a/modules/buildsystem/templates/binrepo/upload-bin +++ b/modules/buildsystem/templates/binrepo/upload-bin @@ -1,4 +1,6 @@ #!/bin/sh +set -e + binrepodir=<%= repodir %> uploadinfosdir=<%= uploadinfosdir %> tmpfile=$(mktemp) -- cgit v1.2.1