From 8527cba470ca03bd9c7f4b91b53ed641e4e410fd Mon Sep 17 00:00:00 2001 From: CaledoniaProject Date: Mon, 20 Jan 2025 16:42:55 +0800 Subject: [PATCH] Update setup.sh Enter the current directory before executing setup.sh, otherwise the installer might failed to find rqeuirements.txt --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index f3a1eee79..5e5d91d1a 100755 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +cd "$(dirname "$0")" # Function to display help information display_help() {