Hi
I seem to be hitting all of the things at once. Note that this isn't about recursive globbing.
Should this rule work?
: foreach a/*/x.txt |> (more rule stuff)
It isn't, for me. E.g.
mkdir -p test/a/b test/a/c
cd test
touch a/b/x.txt a/c/x.txt
tup init
echo ': foreach a/*/x.txt |> touch %o |> %g' > Tupfile
tup
I'd expect b and c to be created; instead, I get the error:
Failed to f ind directory ID for dir a/*/x.txt' relative to '.'
Thanks