From 42477ca6ff405858fe2bbbc8d326dac9cafe1149 Mon Sep 17 00:00:00 2001 From: Maria Lisina Date: Tue, 18 Aug 2026 17:04:08 +0500 Subject: autoprobe: Add dir variable Signed-off-by: Maria Lisina --- autoprobe.zsh | 5 +++-- 1 file 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 -- cgit v1.2.3