This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com> Upstream-commit: 52379fa76dee07ca038624d639d9e14f4fb719ff Component: engine
16 lines
268 B
Bash
16 lines
268 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
rm -rf "$DEST"
|
|
|
|
# This script exists as backwards compatibility for CI
|
|
(
|
|
DEST="${DEST}-client"
|
|
ABS_DEST="${ABS_DEST}-client"
|
|
. hack/make/binary-client
|
|
)
|
|
(
|
|
DEST="${DEST}-daemon"
|
|
ABS_DEST="${ABS_DEST}-daemon"
|
|
. hack/make/binary-daemon
|
|
)
|