From 4c6b665e94fc495c0fb282e949f16ea580cdf273 Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Thu, 20 Feb 2020 19:55:49 +0400 Subject: [PATCH] sh: ensure release dir exists in static king build Fixes a minor bug that can occur when copying the resulting binary. (Also removes the use of ldd, which doesn't apply in the static binary case.) --- sh/release-king-linux64-static | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/release-king-linux64-static b/sh/release-king-linux64-static index e8c32a329..a08e2b6f1 100755 --- a/sh/release-king-linux64-static +++ b/sh/release-king-linux64-static @@ -18,8 +18,9 @@ king=$(bash $(nix-build --no-link -A fullBuildScript)) popd +mkdir -p release + out="release/king-linux64-static-$ver" cp "$king"/bin/urbit-king "$out" -ldd "$out"