diff options
Diffstat (limited to 'autoprobe.zsh')
| -rwxr-xr-x | autoprobe.zsh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/autoprobe.zsh b/autoprobe.zsh index b23fae3..344f1fe 100755 --- a/autoprobe.zsh +++ b/autoprobe.zsh @@ -7,8 +7,9 @@ set -e -lkddb="$(dirname "${0}")/lkddb.list" -defconfig="$(dirname "${0}")/autoprobe.defconfig" +dir="${0%/*}" +lkddb="${dir}/lkddb.list" +defconfig="${dir}/autoprobe.defconfig" if ! [[ -f "${lkddb}" ]] then |
