diff --git a/subcmds/forall.py b/subcmds/forall.py index 8209c806..d3e70ae1 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py @@ -169,6 +169,12 @@ terminal and are not redirected. else: cwd = project.worktree + if not os.path.exists(cwd): + if (opt.project_header and opt.verbose) \ + or not opt.project_header: + print >>sys.stderr, 'skipping %s/' % project.relpath + continue + if opt.project_header: stdin = subprocess.PIPE stdout = subprocess.PIPE