mirror of
https://github.com/logos-storage/logos-storage-local-harness.git
synced 2026-01-05 06:53:05 +00:00
21 lines
312 B
Bash
21 lines
312 B
Bash
#!/usr/bin/env bash
|
|
|
|
LIB_SRC=${LIB_SRC:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}
|
|
|
|
# shellcheck source=./src/config.bash
|
|
source "${LIB_SRC}/config.bash"
|
|
|
|
clh_output_folder() {
|
|
echo "${OUTPUTS}/$1"
|
|
}
|
|
|
|
echoerr() {
|
|
echo "$@" >&2
|
|
}
|
|
|
|
await() {
|
|
local pid=$1
|
|
while kill -0 "$pid"; do
|
|
sleep 0.1
|
|
done
|
|
} |