fix local setup script

This commit is contained in:
Abhishek Kumar 2026-05-14 14:06:29 +05:30
parent 0800eb639e
commit 83cc486eda
9 changed files with 46 additions and 48 deletions

View file

@ -9,12 +9,12 @@ BLUE='\033[0;34m'
NC='\033[0m' # No Color
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
LIB_PATH="$SCRIPT_DIR/lib/remote_common.sh"
LIB_PATH="$SCRIPT_DIR/lib/setup_common.sh"
BOOTSTRAP_LIB=""
if [[ ! -f "$LIB_PATH" ]]; then
BOOTSTRAP_LIB="$(mktemp)"
curl -fsSL -o "$BOOTSTRAP_LIB" "https://raw.githubusercontent.com/dograh-hq/dograh/main/scripts/lib/remote_common.sh"
curl -fsSL -o "$BOOTSTRAP_LIB" "https://raw.githubusercontent.com/dograh-hq/dograh/main/scripts/lib/setup_common.sh"
LIB_PATH="$BOOTSTRAP_LIB"
fi
@ -223,7 +223,7 @@ else
fi
fi
DOGRAH_REMOTE_PROJECT_DIR="$(pwd)"
DOGRAH_DEPLOY_PROJECT_DIR="$(pwd)"
if [[ "$DEPLOY_MODE" != "prebuilt" ]]; then
chmod +x remote_up.sh