From 6ec4834a08a9731496343ae11bdc2bb5d4cbbb2a Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Mon, 19 Feb 2024 17:04:46 -0500 Subject: [PATCH] work around error that happens in nsis --- buildscripts/unsigned.sh | 2 +- buildscripts/zip.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscripts/unsigned.sh b/buildscripts/unsigned.sh index 5f8cf23..e1d970d 100755 --- a/buildscripts/unsigned.sh +++ b/buildscripts/unsigned.sh @@ -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" diff --git a/buildscripts/zip.sh b/buildscripts/zip.sh index ac65465..4beb245 100755 --- a/buildscripts/zip.sh +++ b/buildscripts/zip.sh @@ -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"