work around error that happens in nsis

This commit is contained in:
eyedeekay
2024-02-19 16:58:47 -05:00
parent 2ed7e7ef98
commit 82d111d598

View File

@@ -1,7 +1,7 @@
#! /usr/bin/env bash
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)/..
cd "$SCRIPT_DIR" || exit 1
cd "$SCRIPT_DIR" || cd ../ || SCRIPT_DIR=$(pwd)
. "$SCRIPT_DIR/config.sh"