work around error that happens in nsis

This commit is contained in:
eyedeekay
2024-02-19 16:48:59 -05:00
parent bdf8715ce5
commit 2ed7e7ef98

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"