diff --git a/update_depot_tools b/update_depot_tools index 9825507f94..a466d3aabc 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -6,6 +6,10 @@ # This script will try to sync the bootstrap directories and then defer control. base_dir=$(dirname "$0") +if [ -L "$base_dir" ] +then + base_dir=`cd "$base_dir" && pwd -P` +fi # Test git and git --version. function test_git {