Skip to content

Commit 4556ab5

Browse files
committed
invrs: fix invrs_wrapper script
1 parent 2c53a18 commit 4556ab5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/invrs_wrapper.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22
set -e
33

4-
source bin/workon.sh
5-
invrs "$@"
4+
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd )"
5+
PROJ_ROOT="${THIS_DIR}/.."
6+
RUST_ROOT="${PROJ_ROOT}/invrs"
7+
8+
cargo run --release --manifest-path ${RUST_ROOT}/Cargo.toml -q -- "$@"

0 commit comments

Comments
 (0)