Commit 67bf6916 authored by Matt Traudt's avatar Matt Traudt
Browse files

Make callable from any directory

parent 0f2ea046
......@@ -11,8 +11,8 @@ function fail_hard {
}
make=$(which gmake &>/dev/null && echo "gmake" || echo "make")
venv=$(pwd)/venv
sbws_repo="$1"
sbws_repo="$(realpath $1)"
venv="$sbws_repo/venv"
[ -d "$venv" ] || fail_hard "$venv doesn't exist"
[ ! -z "$sbws_repo" ] || fail_hard "$0 <sbws_repo>"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment