refactor: fix #194

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-14 14:04:39 +02:00
parent 1f6745cc7b
commit 1d16235c24
11 changed files with 21 additions and 21 deletions

View File

@@ -12,11 +12,11 @@
set -e
function change_klipper_repo_menu(){
local repo_file="${SRCDIR}/kiauh/klipper_repos.txt"
local repo_file="${KIAUH_SRCDIR}/klipper_repos.txt"
local repo branch repos=() branches=()
if [[ ! -f ${repo_file} ]]; then
print_error "File not found:\n '${SRCDIR}/kiauh/klipper_repos.txt'"
print_error "File not found:\n '${KIAUH_SRCDIR}/klipper_repos.txt'"
return
fi