Skip to content

Commit

Permalink
Improved build_rpm.sh
Browse files Browse the repository at this point in the history
- assure we use bash strict mode to avoid missing errors
- added untracked artifacts to gitignore

Signed-off-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
ssbarnea committed Nov 27, 2019
1 parent f5ef3d5 commit 7605387
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/.artifacts/
/_output/
/brew
/conmon/conmon.o
/conmon/
/docs/*.[158]
/docs/*.[158].gz
/docs/remote
Expand All @@ -27,3 +27,5 @@ podman-remote*.zip
podman*.tar.gz
.idea*
.vscode*
contrib/spec/podman.spec
*.rpm
2 changes: 1 addition & 1 deletion contrib/build_rpm.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -x
set -euxo pipefail

pkg_manager=`command -v dnf`
if [ -z "$pkg_manager" ]; then
Expand Down

0 comments on commit 7605387

Please sign in to comment.