summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpywrapper.sh2
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback