Skip to content

Commit

Permalink
Standardize TMP_DIR option
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo committed Dec 13, 2016
1 parent 07f126f commit c7f16c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/probe_saml_idp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ fi
#####################################################################

# get entity metadata
entityDescriptor=$( getEntityFromServer -d "$tmp_dir" -u "$MDQ_BASE_URL" $entityID )
entityDescriptor=$( getEntityFromServer -T "$tmp_dir" -u "$MDQ_BASE_URL" $entityID )
exit_status=$?
if [ "$exit_status" -ne 0 ]; then
echo "ERROR: $script_name: unable to obtain metadata for entityID: $entityID" >&2
Expand Down
6 changes: 3 additions & 3 deletions lib/md_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ getEntityFromFile () {
#######################################################################
# Get entity metadata from a Metadata Query Server.
#
# Usage: getEntityFromServer -d TMP_DIR -u MDQ_BASE_URL ID
# Usage: getEntityFromServer -T TMP_DIR -u MDQ_BASE_URL ID
#
# A temporary file containing the HTTP response is created in TMP_DIR.
#
Expand All @@ -134,9 +134,9 @@ getEntityFromServer () {
local opt
local OPTARG
local OPTIND
while getopts ":d:u:" opt; do
while getopts ":T:u:" opt; do
case $opt in
d)
T)
tmp_dir="$OPTARG"
;;
u)
Expand Down

0 comments on commit c7f16c0

Please sign in to comment.