Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incompatibility with core lib
Tom Scavo committed Apr 24, 2017
1 parent 0770403 commit 4b9dccb
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions 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
2 changes: 1 addition & 1 deletion 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

0 comments on commit 4b9dccb

Please sign in to comment.