run.sh shortcut, m5 executable userland

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-03-14 00:00:00 +00:00
parent 5d08bfeeb2
commit a1b312891f
4 changed files with 42 additions and 8 deletions

View File

@@ -216,7 +216,8 @@ class ShellHelpers:
)
def cp(self, src, dest, **kwargs):
self.print_cmd(['cp', src, dest])
if not kwargs.get('quiet', False):
self.print_cmd(['cp', src, dest])
if not self.dry_run:
if os.path.islink(src):
if os.path.lexists(dest):