ensure_bootstrap/update_depot_tools: drop cwd symlink resolution

This was added long ago to workaround svn behavior with symlinked dirs.
We haven't used svn in years, so drop this logic to simplify.

Bug: 1469696
Change-Id: Ic881ec74b1a3caa002a131be48259a56be30d4f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4745419
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
changes/19/4745419/2
Mike Frysinger 2 years ago committed by LUCI CQ
parent 582edfab2c
commit e8b6776755

@ -23,9 +23,6 @@ if [ $MINGW = 0 ]; then
base_dir="${0%/*}"
else
base_dir=$(dirname "${BASH_SOURCE[0]}")
if [ -L "$base_dir" ]; then
base_dir=`cd "$base_dir" && pwd -P`
fi
# Don't bootstrap Python 3 on windows, since it is already done by
# bootstrap/win_tools.bat.

@ -34,9 +34,6 @@ if [ $MINGW = 0 ]; then
base_dir="${0%/*}"
else
base_dir=$(dirname "$0")
if [ -L "$base_dir" ]; then
base_dir=`cd "$base_dir" && pwd -P`
fi
fi
if [ -e "$base_dir/.disable_auto_update" ]; then

Loading…
Cancel
Save