summaryrefslogtreecommitdiff
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
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>
-rw-r--r--.gitignore4
-rw-r--r--contrib/build_rpm.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 54b63518f..f14f08396 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
/.artifacts/
/_output/
/brew
-/conmon/conmon.o
+/conmon/
/docs/*.[158]
/docs/*.[158].gz
/docs/remote
@@ -27,3 +27,5 @@ podman-remote*.zip
podman*.tar.gz
.idea*
.vscode*
+contrib/spec/podman.spec
+*.rpm
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