Module: check_mk
Branch: master
Commit: b513c110e6086020a6644b4d2c85f608f7e70f0c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b513c110e60860…
Author: Alex Zurhake <az(a)mathias-kettner.de>
Date: Mon Nov 26 08:42:50 2018 +0100
use shell with pipefail globally
Change-Id: I5c28e38961a33003f27805fb87f50c773fc482cd
---
omd/Makefile | 2 +-
omd/packages/packages.make | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/omd/Makefile b/omd/Makefile
index fd49c5d..a96bdb2 100644
--- a/omd/Makefile
+++ b/omd/Makefile
@@ -1,4 +1,4 @@
-SHELL = /bin/bash
+SHELL = /bin/bash -e -o pipefail
include Makefile.omd
include packages/packages.make
diff --git a/omd/packages/packages.make b/omd/packages/packages.make
index 6f02c8b..3563346 100644
--- a/omd/packages/packages.make
+++ b/omd/packages/packages.make
@@ -1,6 +1,4 @@
# Paths to necessary Tools
-SHELL := /bin/bash
-
ECHO := $(shell which echo)
FIND := $(shell which find)
GCC_SYSTEM := $(shell which gcc)