From 42525d1142d3755e3f3123579f5fac5c15f8788e Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 26 Sep 2013 17:00:21 +0200 Subject: [PATCH] testing: Load testing.conf.local from the same directory as testing.conf --- testing/testing.conf | 5 +++-- 1 file 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