From 29f2cd34f03984964f347ea065e13f4c9ce805f0 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 17 Feb 2021 09:40:28 +0000 Subject: [PATCH] build: fix build path for windows --- src/bin/buildForWindows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index e053b15df..5fd2a4bde 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -7,7 +7,7 @@ fatal() { error "$@"; exit 1; } is_cmd() { command -v "$@" >/dev/null 2>&1; } # Move to the folder where ep-lite is installed -cd "$(dirname "$0")"/.. +cd "$(cd "${0%/*}" && pwd -P)/../.." # Is wget installed? is_cmd wget || fatal "Please install wget"