If the created target is a directory, it's okay for the .do to create it.
Normally, creating the target $1 yourself is bad; create $3 instead. But if $1 is a directory, we'll allow it. That way 'redo subdir' can call subdir.do, and subdir.do can both create the directory *and* run a bunch of sub-.do files on it.
This commit is contained in:
parent
83dd52c209
commit
282bb0488e
4 changed files with 6 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
redo example/clean curse/clean deps/clean "space dir/clean"
|
||||
rm -f c c.c c.c.c c.c.c.b c.c.c.b.b d mode1
|
||||
rm -f hello [by]ellow *.o *~ .*~ CC LD passfail
|
||||
|
||||
rm -rf makedir
|
||||
Loading…
Add table
Add a link
Reference in a new issue