aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/resource-agents/fix-bashism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/resource-agents/fix-bashism.patch')
-rw-r--r--unmaintained/resource-agents/fix-bashism.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/unmaintained/resource-agents/fix-bashism.patch b/unmaintained/resource-agents/fix-bashism.patch
deleted file mode 100644
index ca63c2d1a3..0000000000
--- a/unmaintained/resource-agents/fix-bashism.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./heartbeat/ocf-shellfuncs.in.orig
-+++ ./heartbeat/ocf-shellfuncs.in
-@@ -691,8 +691,7 @@
- # OCF_TRACE_FILE is set to a path.
- #
- ocf_is_bash4() {
-- echo "$SHELL" | grep bash > /dev/null &&
-- [ ${BASH_VERSINFO[0]} = "4" ]
-+ [ "${BASH_VERSION%%.*}" = "4" ]
- }
- ocf_trace_redirect_to_file() {
- local dest=$1