[pbuilder] 02/03: modules: avoid pipefail when no selinux is used
Mattia Rizzolo
mattia at debian.org
Sat Jun 4 17:27:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit e410faff34797a99bc635fe242dff1a1eddc4f5c
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Jun 4 17:10:05 2016 +0000
modules: avoid pipefail when no selinux is used
Gbp-Dch: Ignore
---
pbuilder-modules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pbuilder-modules b/pbuilder-modules
index f44fdf3..faca38a 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -22,7 +22,7 @@
hooks=tmp/hooks
DEB_BUILD_ARCH_OS=$(dpkg-architecture -qDEB_BUILD_ARCH_OS)
-SELINUX="$(grep -m 1 ^selinuxfs /proc/mounts | cut -d ' ' -f 2)"
+SELINUX="$(grep -m 1 ^selinuxfs /proc/mounts | cut -d ' ' -f 2 || : )"
function showhelp () {
cat <<EOF
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list