From 6c0651429f4d7b9226577c613ec8e8149158aa7a Mon Sep 17 00:00:00 2001 From: bdrtr Date: Sat, 1 Mar 2025 02:16:20 +0300 Subject: [PATCH] fixed file not found error" --- main.sh | 6 ++++-- starter.sh | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/main.sh b/main.sh index 60470bc..bba61a7 100755 --- a/main.sh +++ b/main.sh @@ -1,7 +1,9 @@ #!/usr/bin/bash -source finder.sh -source starter.sh +BASE_DIR=/usr/local/bin/ServerFinder + +source "$BASE_DIR/finder.sh" +source "$BASE_DIR/starter.sh" diff --git a/starter.sh b/starter.sh index 4b3e580..b501560 100644 --- a/starter.sh +++ b/starter.sh @@ -1,6 +1,7 @@ #! usr/bin/bash -source start_options.sh +BASE_DIR=/usr/local/bin/ServerFinder +source "$BASE_DIR/start_options.sh" function change_the_properties() { gum log --structured --level info "we find the $1 file"