Skip to content

Commit

Permalink
Scripts: typofix
Browse files Browse the repository at this point in the history
  • Loading branch information
storypku committed Sep 13, 2020
1 parent 7729a6d commit 38495c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyber/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TOP_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd -P)"
source ${TOP_DIR}/scripts/apollo.bashrc

export APOLLO_BAZEL_DISTDIR="${APOLLO_CACHE_DIR}/distdir"
export APOLLO_BAZEL_DIST_DIR="${APOLLO_CACHE_DIR}/distdir"
export CYBER_PATH="${APOLLO_ROOT_DIR}/cyber"

bazel_bin_path="${APOLLO_ROOT_DIR}/bazel-bin"
Expand Down
4 changes: 2 additions & 2 deletions tools/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def setup_common_dirs(environ_cp):
if 'APOLLO_CACHE_DIR' in environ_cp:
cache_dir = environ_cp['APOLLO_CACHE_DIR']

if 'APOLLO_BAZEL_DISTDIR' in environ_cp:
dist_dir = environ_cp['APOLLO_BAZEL_DISTDIR']
if 'APOLLO_BAZEL_DIST_DIR' in environ_cp:
dist_dir = environ_cp['APOLLO_BAZEL_DIST_DIR']

write_to_bazelrc('startup --output_user_root="{}/bazel"'.format(cache_dir))
write_to_bazelrc('common --distdir="{}"'.format(dist_dir))
Expand Down

0 comments on commit 38495c7

Please sign in to comment.