diff options
author | Matthew Sotoudeh <masotoudeh@ucdavis.edu> | 2021-06-03 18:14:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 18:14:32 -0700 |
commit | 538f6cfd5acdb2b5adfd7742d59ae196367b04dc (patch) | |
tree | 65b5df019fb433892301a5d177c88b21f7c290ef | |
parent | cb4f346641afd090dc088c01df46dc403e600773 (diff) |
-rwxr-xr-x | pywrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrapper.sh b/pywrapper.sh index 0059881..647a487 100755 --- a/pywrapper.sh +++ b/pywrapper.sh @@ -6,7 +6,7 @@ # bazel_out/.../[mainworkspace]. This searches for the first matching path then # exits, so it should be reasonably fast in most cases. # https://unix.stackexchange.com/questions/68414/only-find-first-few-matched-files-using-find -venv_path=$((find . -path "*/bazel_python_venv_installed/bin/activate" & ) | head -n 1) +venv_path=$((find -L . -path "*/bazel_python_venv_installed/bin/activate" & ) | head -n 1) # If venv_path was not found it will be empty and the below will throw an # error, alerting Bazel something went wrong. source $venv_path || exit 1 |