Skip to content

Commit

Permalink
Set correct runfiles variable in Python stub
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum authored Mar 10, 2023
1 parent 4427a1f commit 4fe6391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/python/python_bootstrap_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def RunfilesEnvvar(module_space):
# Look for the runfiles "input" manifest, argv[0] + ".runfiles/MANIFEST"
runfiles = os.path.join(module_space, 'MANIFEST')
if os.path.exists(runfiles):
return ('RUNFILES_DIR', runfiles)
return ('RUNFILES_MANIFEST_FILE', runfiles)

# If running in a sandbox and no environment variables are set, then
# Look for the runfiles next to the binary.
Expand Down

0 comments on commit 4fe6391

Please sign in to comment.