From 4b9dccb5422e284fd8ab55141a56b61e59ec45d2 Mon Sep 17 00:00:00 2001 From: Tom Scavo Date: Mon, 24 Apr 2017 13:29:17 -0400 Subject: [PATCH] Fix incompatibility with core lib --- lib/md_tools.sh | 14 +++++++------- lib/saml_tools.sh | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/md_tools.sh b/lib/md_tools.sh index 8b76e00..930b021 100755 --- a/lib/md_tools.sh +++ b/lib/md_tools.sh @@ -25,7 +25,7 @@ ####################################################################### getEntityFromFile () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -121,7 +121,7 @@ getEntityFromFile () { ####################################################################### getEntityFromServer () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -298,7 +298,7 @@ construct_mdq_url () { ####################################################################### extractIdentifiers () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -428,7 +428,7 @@ extractIdentifiers () { ####################################################################### extractIdPNames () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -551,7 +551,7 @@ extractIdPNames () { ####################################################################### listEndpoints () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -654,7 +654,7 @@ listEndpoints () { ####################################################################### filterEndpoints () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi @@ -726,7 +726,7 @@ filterEndpoints () { ####################################################################### listEndpointLocations () { - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi diff --git a/lib/saml_tools.sh b/lib/saml_tools.sh index c6bfe67..b23bdeb 100755 --- a/lib/saml_tools.sh +++ b/lib/saml_tools.sh @@ -814,7 +814,7 @@ probe_shibboleth_sso_endpoint () { deflate () { # external dependency - if [ "$COMMAND_PATHS" != true ]; then + if [ "$_COMPATIBILITY_MODE" != true ]; then echo "ERROR: $FUNCNAME: global command paths not found" >&2 return 2 fi