Changeset 1869040 in rtems-source-builder


Ignore:
Timestamp:
Apr 23, 2013, 1:41:49 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
86b2b4f
Parents:
f077b2b
Message:

Fix the path for a CVS checkout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/cvs.py

    rf077b2b r1869040  
    6464        e = execute.capture_execution()
    6565        if cwd is None:
    66             _path = path.join(self.path, self.prefix)
    67             if not path.exists(_path):
    68                 raise error.general('cvs path needs to exist: %s' % (_path))
    69             cwd = _path
     66            cwd = path.join(self.path, self.prefix)
     67        if not path.exists(cwd):
     68            raise error.general('cvs path needs to exist: %s' % (cwd))
    7069        cmd = [self.cvs, '-q'] + args
    7170        log.output('cmd: (%s) %s' % (str(cwd), ' '.join(cmd)))
     
    9796        if module:
    9897            cmd += [module]
    99         ec, output = self._run(cmd, check = True)
     98        ec, output = self._run(cmd, check = True, cwd = self.path)
    10099
    101100    def update(self):
Note: See TracChangeset for help on using the changeset viewer.