lftools should not fail if the user passes extra trailing slashes that
the command was not expecting.
Change-Id: I9a32c48ddd5ee2898816db7faaeb0de805a38b3c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# as a workaround we have to at least give it 1 directory deep. Since most
# LF projects are 'org' domain default is org but can be override with the
# -r option.
+ nexus_url = nexus_url.rstrip('/')
nexus_repo_url = "{}/content/repositories/{}/{}".format(nexus_url, nexus_repo, root_domain)
sign_dir = tempfile.mkdtemp(prefix='gpg-signatures.')