Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Fix quotation mark when constructing bazel cmds.
Browse files Browse the repository at this point in the history
Quotation mark around ${DEBUG} produces single quotation mark around
--verbose_failures --sandbox_debug, which messes up the bazel cmd.
  • Loading branch information
xingao267 authored and dlorenc committed Feb 13, 2018
1 parent 92d4235 commit 68db979
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bootstrap_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ if [ -z "${GIT_ROOT}" ]; then
fi

echo "Running bazel build ${TARGET}"
# shellcheck disable=SC2086
bazel build "${TARGET}" \
--action_env=GIT_ROOT="${GIT_ROOT}" \
--sandbox_writable_path="${GIT_ROOT} ${DEBUG}"
--action_env=GIT_ROOT="${GIT_ROOT}" \
--sandbox_writable_path="${GIT_ROOT}" ${DEBUG}

# get rid of running this once we figure out how to make put_status output mandatory in bootstrap_image.
echo "Running bazel build ${TARGET}_fetch to make we store the downloaded packages in the store back"
# shellcheck disable=SC2086
bazel build "${TARGET}_fetch" \
--action_env=GIT_ROOT="${GIT_ROOT}" \
--sandbox_writable_path="${GIT_ROOT} ${DEBUG}"
--sandbox_writable_path="${GIT_ROOT}" ${DEBUG}

echo "Please run 'git status' and 'git commit' commands to commit the downloaded packages to the git repository"

0 comments on commit 68db979

Please sign in to comment.