Skip to content
Snippets Groups Projects
Commit 67bf6916 authored by Matt Traudt's avatar Matt Traudt
Browse files

Make callable from any directory

parent 0f2ea046
Branches
Tags
No related merge requests found
......@@ -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>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment