aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-08-02 12:18:01 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-08-02 12:18:01 +0200
commit170896fb1549ecf048929bc7e8d7e1bba7aabaaa (patch)
treece2bca75f3294982f62e5c502f00ca9e142c6a25 /g_sorcery
parentmetadata/layout.conf support added (diff)
downloadg-sorcery-170896fb1549ecf048929bc7e8d7e1bba7aabaaa.tar.gz
g-sorcery-170896fb1549ecf048929bc7e8d7e1bba7aabaaa.tar.bz2
g-sorcery-170896fb1549ecf048929bc7e8d7e1bba7aabaaa.zip
g_sorcery/backend: fix overlay name
Diffstat (limited to 'g_sorcery')
-rw-r--r--g_sorcery/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g_sorcery/backend.py b/g_sorcery/backend.py
index 4b356b3..6cc0d13 100644
--- a/g_sorcery/backend.py
+++ b/g_sorcery/backend.py
@@ -458,7 +458,7 @@ class Backend(object):
else:
masters = elist(config["repositories"][args.repository]["masters"])
with open(os.path.join(overlay, 'metadata', 'layout.conf'), 'w') as f:
- f.write("repo-name = %s\n" % overlay)
+ f.write("repo-name = %s\n" % os.path.basename(overlay))
f.write("masters = %s\n" % masters)
if args.digest: