mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 12:50:54 +00:00
12 lines
243 B
Bash
12 lines
243 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
if [ -z "${RUST_LOG}" ]
|
||
|
then
|
||
|
RUST_LOG="INFO"
|
||
|
fi
|
||
|
|
||
|
cd "$(dirname "${0}")/.."
|
||
|
cargo build --target x86_64-unknown-linux-gnu --bin hyphanet
|
||
|
exec sudo RUST_LOG="${RUST_LOG}" target/x86_64-unknown-linux-gnu/debug/hyphanet "${@}"
|