]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix extraction of name from URLs ending in /
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 22 Jan 2016 12:00:00 +0000 (01:00 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:57 +0000 (23:42 +0000)
commit308189beda8a31541481d09e3d5e86187e843d8d
tree524b5ab7171785d79552adf092ff43c4edb8607c
parentb143d414846854dc8b3e0a47358daf5646eded38
recipetool: create: fix extraction of name from URLs ending in /

If the URL ends in a / then we want to strip that off the path we split
out of the URL before calling os.path.basename() on it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py