1 |
commit: 5382d11da1af6deefc1cac602cbd77936638ddfa |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 17 06:22:41 2013 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Dec 31 04:33:35 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=5382d11d |
7 |
|
8 |
Remove some troublesome trailing slashes from paths |
9 |
|
10 |
--- |
11 |
modules/generic_stage_target.py | 4 ++-- |
12 |
1 file changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py |
15 |
index c6a06b6..fcffa23 100644 |
16 |
--- a/modules/generic_stage_target.py |
17 |
+++ b/modules/generic_stage_target.py |
18 |
@@ -459,7 +459,7 @@ class generic_stage_target(generic_target): |
19 |
if "SNAPCACHE" in self.settings: |
20 |
self.settings["snapshot_cache_path"]=\ |
21 |
normpath(self.settings["snapshot_cache"]+"/"+\ |
22 |
- self.settings["snapshot"]+"/") |
23 |
+ self.settings["snapshot"]) |
24 |
self.snapcache_lock=\ |
25 |
catalyst_lock.LockDir(self.settings["snapshot_cache_path"]) |
26 |
print "Caching snapshot to "+self.settings["snapshot_cache_path"] |
27 |
@@ -470,7 +470,7 @@ class generic_stage_target(generic_target): |
28 |
Things *will* break without it! |
29 |
""" |
30 |
self.settings["chroot_path"]=normpath(self.settings["storedir"]+\ |
31 |
- "/tmp/"+self.settings["target_subpath"]+"/") |
32 |
+ "/tmp/"+self.settings["target_subpath"]) |
33 |
self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"]) |
34 |
|
35 |
def set_autoresume_path(self): |