From d66cd370550c0698946b31dc4ddfb35461c851b4 Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Wed, 24 Mar 2021 16:11:04 -0500 Subject: [PATCH] Fix directory issue when building all the packages where directory got skewed. (#98) --- build.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 22a8d09fe..9119b76f4 100644 --- a/build.sh +++ b/build.sh @@ -62,7 +62,6 @@ Package() ProgressStart "Creating $runtime Package for $framework" - BuildUI echo "Building" cd API @@ -91,16 +90,25 @@ Package() RID="$1" Build +BuildUI + +dir=$PWD if [[ -z "$RID" ]]; then Package "net5.0" "win-x64" + cd "$dir" Package "net5.0" "win-x86" + cd "$dir" Package "net5.0" "linux-x64" + cd "$dir" Package "net5.0" "linux-musl-x64" + cd "$dir" Package "net5.0" "osx-x64" + cd "$dir" else Package "net5.0" "$RID" + cd "$dir" fi