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.
2 parents 01e70a7 + 8ac95e4 commit 65ad348Copy full SHA for 65ad348
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