Commit 1ab7ffcc authored by maruel@chromium.org's avatar maruel@chromium.org

Fix gclient config with a trailing backslash.

Review URL: http://codereview.chromium.org/118160

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17487 0039d316-1c4b-4281-b951-d872f2087c98
parent d6f5181c
......@@ -1514,8 +1514,8 @@ def DoConfig(options, args):
else:
# TODO(darin): it would be nice to be able to specify an alternate relpath
# for the given URL.
base_url = args[0]
name = args[0].split("/")[-1]
base_url = args[0].rstrip('/')
name = base_url.split("/")[-1]
safesync_url = ""
if len(args) > 1:
safesync_url = args[1]
......
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