We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e70a7 commit 8ac95e4Copy full SHA for 8ac95e4
1 file changed
main_installer.sh
@@ -13,8 +13,8 @@
13
# Fail fast, treat unset variables as errors, and catch pipeline failures
14
set -euo pipefail
15
16
-# Script directory
17
-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+# Script directory (where main_installer.sh is located)
+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
18
19
# Status indicators - using ASCII for better compatibility
20
S_ERROR="[ERROR]"
0 commit comments