diff options
Diffstat (limited to 'sca-cpp/trunk/modules/openid')
-rwxr-xr-x | sca-cpp/trunk/modules/openid/openid-conf | 2 | ||||
-rwxr-xr-x | sca-cpp/trunk/modules/openid/openid-step2-conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index 19d7d06d99..cc503e629d 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -19,7 +19,9 @@ # Generate an OpenID server conf here=`readlink -f $0`; here=`dirname $here` +mkdir -p $1 root=`readlink -f $1` + conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` openid_prefix=`cat $here/openid.prefix` diff --git a/sca-cpp/trunk/modules/openid/openid-step2-conf b/sca-cpp/trunk/modules/openid/openid-step2-conf index 5e46f82d6a..30fdc4846e 100755 --- a/sca-cpp/trunk/modules/openid/openid-step2-conf +++ b/sca-cpp/trunk/modules/openid/openid-step2-conf @@ -19,7 +19,9 @@ # Generate an OpenID Step2 server conf here=`readlink -f $0`; here=`dirname $here` +mkdir -p $1 root=`readlink -f $1` + conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` |