fix: add --debug flag for upstall

This commit is contained in:
sinanmohd
2024-12-26 10:33:18 +05:30
parent 6481a8d20c
commit 2f8cb38e56
2 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
#!/bin/bash
#!/usr/bin/env bash
if [ "$1" == '--debug' ]; then
set -x
fi
set -e
set -x
# Constants
NOCO_HOME="./nocodb"
CURRENT_PATH=$(pwd)

View File

@@ -13,5 +13,5 @@ cd "$WORKING_DIR" || exit
rm -rf "$NOCO_HOME"
if [ "$1" = "setup" ]; then
../noco.sh <<< $'\n\n\nN\nN\n'
../noco.sh --debug <<< $'\n\n\nN\nN\n'
fi