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"