]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sync-pull, sign-rpms, sync-push: add -ex to shebang line
authorDan Mick <dmick@redhat.com>
Fri, 20 Oct 2023 23:40:46 +0000 (16:40 -0700)
committerDan Mick <dmick@redhat.com>
Fri, 20 Oct 2023 23:40:46 +0000 (16:40 -0700)
Show what we're doing, and exit on error

Signed-off-by: Dan Mick <dmick@redhat.com>
scripts/sign-rpms
scripts/sync-pull
scripts/sync-push

index d8a782b5388c9041b8da5d0f57e7b13024697b18..a95744a27580c419482e212871679ece08f1b8a0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
 # This script is meant to be used when signing RPMs on a "signer" box. Such
 # a box needs to have the actual signing keys and follow the structure for
 # a repository layout. The layout follows this convention:
index 23edceab352b445fb99d0b1d9f378a3f16a5f435..30bb7b7d755c6ea8734b85d00cec22097c0027dc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
 
 : ${3?"Usage: $0 \$project \$release \$sha1"}
   #  Script exits here if command-line parameter absent,
index c4e96c6deaacc078658ad56f78ba47e279a0520a..5418cefd713b022ee538e0e921a7177c391844b3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -ex
 # This script will push repository files from the signer box to the upstream repositories.
 # By default it will sync all releases defined, but can optionally take one or more
 # releases to sync: