mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user