From 7605387a70f06b34c22e1dda00092f32c94aaf66 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 27 Nov 2019 15:06:05 +0000 Subject: [PATCH] Improved build_rpm.sh - assure we use bash strict mode to avoid missing errors - added untracked artifacts to gitignore Signed-off-by: Sorin Sbarnea --- .gitignore | 4 +++- contrib/build_rpm.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 54b63518f1..f14f083965 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 1132ef3801..c79e49772e 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