gtaayush010 commited on
Commit
b1923e5
·
verified ·
1 Parent(s): 6d7713e

Update setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +2 -2
setup.sh CHANGED
@@ -1,8 +1,8 @@
1
  #!/bin/bash
2
  set -euo pipefail
3
 
4
- # Check if AUTH_PASS environment variable was provided
5
- if [ -z "$AUTH_PASS" ]; then
6
  echo "ERROR: Password environment variable is missing!"
7
  echo "Usage: AUTH_PASS='your_password' curl -fsSL <url> | bash"
8
  exit 1
 
1
  #!/bin/bash
2
  set -euo pipefail
3
 
4
+ # Check if AUTH_PASS environment variable was provided (safely handles unbound variables)
5
+ if [ -z "${AUTH_PASS:-}" ]; then
6
  echo "ERROR: Password environment variable is missing!"
7
  echo "Usage: AUTH_PASS='your_password' curl -fsSL <url> | bash"
8
  exit 1