Commit 91de1109 authored by Yoshisato Yanagisawa's avatar Yoshisato Yanagisawa Committed by Commit Bot

autoninja: fix shellcheck warnings

Change-Id: Ic7ca117435de34400fdd117741d0b321339f8cfd
Reviewed-on: https://chromium-review.googlesource.com/c/1325250
Commit-Queue: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: 's avatarDirk Pranke <dpranke@chromium.org>
parent 43a35d29
......@@ -5,16 +5,16 @@
# found in the LICENSE file.
# Set unique build ID.
export AUTONINJA_BUILD_ID="$(python -c "import uuid; print uuid.uuid4()")"
AUTONINJA_BUILD_ID="$(python -c "import uuid; print uuid.uuid4()")"
export AUTONINJA_BUILD_ID
# Execute whatever is printed by autoninja.py.
# Also print it to reassure that the right settings are being used.
command=$(python $(dirname -- "$0")/autoninja.py "$@")
echo $command
eval $command
if [ $? -eq 0 ]; then
command=$(python "$(dirname -- "$0")/autoninja.py" "$@")
echo "$command"
if eval "$command"; then
if [ "$NINJA_SUMMARIZE_BUILD" == "1" ]; then
python $(dirname -- "$0")/post_build_ninja_summary.py $@
python "$(dirname -- "$0")/post_build_ninja_summary.py" "$@"
fi
exit
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment