From e843fb3b4c5792ca3311aca311c9af6ea764c4fc Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 7 Aug 2010 20:00:29 +0200 Subject: determine correct dir even if config was sourced --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 5e7ab94..88e50bc 100644 --- a/config +++ b/config @@ -23,4 +23,4 @@ SRCEXT=".src.tar.gz" ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'LGPL' 'LGPL1' 'LGPL2') # Override default config with config.local -[ -f "$(dirname $0)/config.local" ] && . "$(dirname $0)/config.local" +[ -f "$(dirname ${BASH_SOURCE[0]})/config.local" ] && . "$(dirname ${BASH_SOURCE[0]})/config.local" -- cgit v1.2.3-24-g4f1b