projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe5c50
)
https://issues.shibboleth.net/jira/browse/SSPCPP-501
author
Scott Cantor
<cantor.2@osu.edu>
Mon, 6 May 2013 02:40:45 +0000
(
02:40
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Mon, 6 May 2013 02:40:45 +0000
(
02:40
+0000)
configs/metagen.sh
patch
|
blob
|
history
diff --git
a/configs/metagen.sh
b/configs/metagen.sh
index
1761035
..
d616b1f
100755
(executable)
--- a/
configs/metagen.sh
+++ b/
configs/metagen.sh
@@
-74,14
+74,16
@@
if [ -z $ENTITYID ] ; then
fi
fi
-if [ -s $HOSTLIST ] ; then
- while read h
- do
- HOSTS[${#HOSTS[@]}]=$h
- done <$HOSTLIST
-else
- echo File with list of hostnames $l does not exist!
- exit 2
+if [ ! -z $HOSTLIST ] ; then
+ if [ -s $HOSTLIST ] ; then
+ while read h
+ do
+ HOSTS[${#HOSTS[@]}]=$h
+ done <$HOSTLIST
+ else
+ echo File with list of hostnames $l does not exist!
+ exit 2
+ fi
fi
# Establish protocols and bindings.