diff options
-rw-r--r-- | subcmds/forall.py | 6 |
1 files changed, 6 insertions, 0 deletions
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. | |||
169 | else: | 169 | else: |
170 | cwd = project.worktree | 170 | cwd = project.worktree |
171 | 171 | ||
172 | if not os.path.exists(cwd): | ||
173 | if (opt.project_header and opt.verbose) \ | ||
174 | or not opt.project_header: | ||
175 | print >>sys.stderr, 'skipping %s/' % project.relpath | ||
176 | continue | ||
177 | |||
172 | if opt.project_header: | 178 | if opt.project_header: |
173 | stdin = subprocess.PIPE | 179 | stdin = subprocess.PIPE |
174 | stdout = subprocess.PIPE | 180 | stdout = subprocess.PIPE |