Fix git-crup errors when CDPATH is set.

Review URL: https://chromiumcodereview.appspot.com/12320043

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@184148 0039d316-1c4b-4281-b951-d872f2087c98
parent 40395347
......@@ -77,7 +77,7 @@ fi
set -o pipefail
dir="$1"
solution="${1%%/*}"
cd "$solution"
cd "$solution" 1>/dev/null
if [ "$solution" = "$1" ]; then
# Skip git checkouts not managed by crup.
......
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