diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-16 06:15:31 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-16 06:15:31 +0000 |
commit | 68c4889c3b4e931fee65daf96bbda0499d1b3752 (patch) | |
tree | dd2ee5a7b4d4ef4e92d6426207c4d4c9706832bf /sca-cpp/trunk/modules/openid/openid-conf | |
parent | 16f96409b9ad2a1451c88b4e0074b57686f02269 (diff) |
Fix configuration scripts to create directories if necessary.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/openid/openid-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/openid/openid-conf | 2 |
1 files changed, 2 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` |