export PYTHONDONTWRITEBYTECODE instead of just defining constant

BUG=chromium:1040314
TEST=shellcheck
Change-Id: I237df73daad84aeebfc934c9ddcc3eb632598827
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1995993
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Gregory Nisbet <gregorynisbet@google.com>
changes/93/1995993/2
Gregory Nisbet 5 years ago committed by LUCI CQ
parent d339e36642
commit 6a5aa6680c

@ -12,7 +12,7 @@
## ./git-foo-command #=> runs `python git_foo_command.py`
## Constants
PYTHONDONTWRITEBYTECODE=1
PYTHONDONTWRITEBYTECODE=1; export PYTHONDONTWRITEBYTECODE
## "Input parameters".
# If set before the script is sourced, then we'll use the pre-set values.

Loading…
Cancel
Save