work around error that happens in nsis

This commit is contained in:
eyedeekay
2024-02-19 17:04:46 -05:00
parent 82d111d598
commit 6ec4834a08
2 changed files with 2 additions and 2 deletions

View File

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

View File

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