aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-07-29 21:20:44 +0000
committerNicolas Vigier <boklm@mageia.org>2012-07-29 21:20:44 +0000
commit01bf98a5909a1d373c3e1d3e0d30f9d72dc835af (patch)
treed8d7b5446c33bd5f718a5ffe72950ca3c02f569f /modules/buildsystem
parent528aa16420c3516c3072fcf3efad1b3d9ea33157 (diff)
downloadpuppet-01bf98a5909a1d373c3e1d3e0d30f9d72dc835af.tar
puppet-01bf98a5909a1d373c3e1d3e0d30f9d72dc835af.tar.gz
puppet-01bf98a5909a1d373c3e1d3e0d30f9d72dc835af.tar.bz2
puppet-01bf98a5909a1d373c3e1d3e0d30f9d72dc835af.tar.xz
puppet-01bf98a5909a1d373c3e1d3e0d30f9d72dc835af.zip
exit if any of the commands failed
Diffstat (limited to 'modules/buildsystem')
-rwxr-xr-xmodules/buildsystem/templates/binrepo/upload-bin2
1 files changed, 2 insertions, 0 deletions
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)