mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix CVS downloads.
This commit is contained in:
@@ -52,7 +52,9 @@ class repo:
|
||||
|
||||
def _run(self, args, check = False, cwd = None):
|
||||
e = execute.capture_execution()
|
||||
if path.exists(self.path):
|
||||
if cwd is None:
|
||||
if not path.exists(self.path):
|
||||
raise error.general('cvs path needs to exist: %s' % (self.path))
|
||||
cwd = self.path
|
||||
cmd = [self.cvs, '-q'] + args
|
||||
log.output('cmd: (%s) %s' % (str(cwd), ' '.join(cmd)))
|
||||
|
Reference in New Issue
Block a user