Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 230702
Collapse All | Expand All

(-)git.py.orig (-2 / +6 lines)
Lines 45-52 Link Here
45
45
46
        self.supported()
46
        self.supported()
47
47
48
        return self.cmd(self.binary_command + ' clone "' + self.src + '/" "'
48
        # http:// should get trailing slash, other protocols shouldn't
49
                        + path([base, self.name]) + '"')
49
        slash = ''
50
        if self.src.split(':')[0] == 'http':
51
            slash = '/'
52
        return self.cmd(self.binary_command + ' clone "' + self.src + slash
53
                        + '" "' + path([base, self.name]) + '"')
50
54
51
    def sync(self, base):
55
    def sync(self, base):
52
        '''Sync overlay.'''
56
        '''Sync overlay.'''

Return to bug 230702