aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcommon/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/install.sh b/common/install.sh
index 0fd7993..6ef2787 100755
--- a/common/install.sh
+++ b/common/install.sh
@@ -3717,7 +3717,7 @@ trap cleanup_on_exit EXIT
trap handle_interrupt INT
# Execute main if script is run directly
-if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
+if [[ "${BASH_SOURCE[0]-}" == "$0" ]]; then
# Check basic requirements
for req in git curl; do
if ! command_exists "$req"; then