diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-07 20:00:29 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-07 20:00:29 +0200 |
commit | e843fb3b4c5792ca3311aca311c9af6ea764c4fc (patch) | |
tree | c95b113c965e6f3bbe410b97e77ea0a1543c0b35 /config | |
parent | 140c187203be9d000c0cbad02fdfb7adb972937c (diff) | |
download | dbscripts-e843fb3b4c5792ca3311aca311c9af6ea764c4fc.tar.gz dbscripts-e843fb3b4c5792ca3311aca311c9af6ea764c4fc.tar.xz |
determine correct dir even if config was sourced
Diffstat (limited to 'config')
-rw-r--r-- | config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |