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
experimental/szager/collated-output
maruel@chromium.org 16 years ago
parent d6f5181c49
commit 1ab7ffcce9

@ -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]

Loading…
Cancel
Save