Change workdir to script directory on all platforms

This commit is contained in:
FriwiDev
2021-11-23 23:02:31 +01:00
parent b07f47aeb4
commit 9940b72ee3
3 changed files with 9 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ if [ $# -lt 2 ] || [ $# -eq 3 ]
exit 1
fi
cd "$( dirname "$0" )"
TARGETARCH=$1
BUILD_TYPE=$2
if [ $# -lt 4 ]