diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-09-26 17:00:21 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-10-11 15:45:42 +0200 |
commit | 42525d1142d3755e3f3123579f5fac5c15f8788e (patch) | |
tree | d62f0413400df72c36b8206d490d4b3349cfc8e2 /testing/testing.conf | |
parent | b638c131de07dc78de0877de41ad02ce32e6624c (diff) | |
download | strongswan-42525d1142d3755e3f3123579f5fac5c15f8788e.tar.bz2 strongswan-42525d1142d3755e3f3123579f5fac5c15f8788e.tar.xz |
testing: Load testing.conf.local from the same directory as testing.conf
Diffstat (limited to 'testing/testing.conf')
-rw-r--r-- | testing/testing.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/testing.conf b/testing/testing.conf index 4b30ee04b..1e691f8cd 100644 --- a/testing/testing.conf +++ b/testing/testing.conf @@ -14,9 +14,10 @@ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. -if [ -f testing.conf.local ] +TESTINGDIR=$(dirname `readlink -f ${BASH_SOURCE[0]}`) +if [ -f $TESTINGDIR/testing.conf.local ] then - . testing.conf.local + . $TESTINGDIR/testing.conf.local fi # Root directory of testing |