We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ed17f commit 7e355aaCopy full SHA for 7e355aa
scripts/marksman-server.sh
@@ -1,7 +1,10 @@
1
#!/usr/bin/env bash
2
3
-SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
4
-TOP_DIR="$SCRIPT_DIR/.."
+set -x
+
5
+RESOLVED_PATH="$(readlink -f "${BASH_SOURCE[0]}")"
6
+SCRIPT_DIR=$(cd -- "$(dirname -- "$RESOLVED_PATH")" &>/dev/null && pwd)
7
+TOP_DIR="$(realpath "$SCRIPT_DIR/..")"
8
make -C "$TOP_DIR" build </dev/null 1>&2
9
-exec "$TOP_DIR/Marksman/bin/Debug/net8.0/marksman" "${@:1}" server -v=4
10
+exec "$TOP_DIR/Marksman/bin/Debug/net8.0/marksman" "${@:1}"
0 commit comments