Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runfiles_tmpl = '''#!/bin/bash -eu
# to prevent Python from prepending '' to sys.path and allowing
# modules from $PWD to be imported as top level modules.

STUBPATH=$(/usr/bin/env python -ESs <(echo "import os.path; print(os.path.realpath(os.path.abspath('$0').split('.runfiles')[0]));"))
STUBPATH=$(/usr/bin/env python2.7 -ESs <(echo "import os.path; print(os.path.realpath(os.path.abspath('$0').split('.runfiles')[0]));"))
STUBPATH=$STUBPATH.runfiles

export RUNFILES=$STUBPATH/{workspace_name}
Expand Down