init fixes for windows

This commit is contained in:
2025-10-28 16:14:31 -05:00
parent 7cd3f03417
commit 014448ac55
3 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
export FB_RUNNING_AS_SCRIPT=1
thisFile="$(readlink -f "$0")"
export REPO_DIR="$(cd "$(dirname "${thisFile}")/.." && echo "$PWD")"
source "${REPO_DIR}/main.sh" || return 1
source "${REPO_DIR}/main.sh" || exit 1
scr_name="$(bash_basename $0)"
cmd="${scr_name//.sh/}"
if [[ $DEBUG == 1 ]]; then set -x; fi