aboutsummaryrefslogtreecommitdiff
path: root/contrib/build_rpm.sh
diff options
context:
space:
mode:
authorSorin Sbarnea <sorin.sbarnea@gmail.com>2019-11-27 15:06:05 +0000
committerSorin Sbarnea <sorin.sbarnea@gmail.com>2019-11-27 17:59:06 +0000
commit7605387a70f06b34c22e1dda00092f32c94aaf66 (patch)
tree52242f44c1f1f3300d9f1b86f71ef5b1b1be68d9 /contrib/build_rpm.sh
parentf5ef3d59bcc7e7beae8716ab10153e1eafd634c1 (diff)
downloadpodman-7605387a70f06b34c22e1dda00092f32c94aaf66.tar.gz
podman-7605387a70f06b34c22e1dda00092f32c94aaf66.tar.bz2
podman-7605387a70f06b34c22e1dda00092f32c94aaf66.zip
Improved build_rpm.sh
- assure we use bash strict mode to avoid missing errors - added untracked artifacts to gitignore Signed-off-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
Diffstat (limited to 'contrib/build_rpm.sh')
-rw-r--r--contrib/build_rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/build_rpm.sh b/contrib/build_rpm.sh
index 1132ef380..c79e49772 100644
--- a/contrib/build_rpm.sh
+++ b/contrib/build_rpm.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-set -x
+set -euxo pipefail
pkg_manager=`command -v dnf`
if [ -z "$pkg_manager" ]; then