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.)
This commit is contained in:
Jared Tobin 2020-02-20 19:55:49 +04:00
parent fe05a61b8b
commit 4c6b665e94
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -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"