apenwarr-redo/t/default.b.do
Avery Pennarun c1f09f564b Support for default.*.do rules.
I *think* this was the last missing part from djb's spec.  Certainly it's an
important one for any real project.
2010-11-16 03:04:11 -08:00

10 lines
167 B
Text

if [ -e "$1$2.a" -o -e "default$2.a" ]; then
redo-ifchange "$1$2.a"
echo a-to-b
cat "$1$2.a"
else
redo-ifchange "$1$2.b"
echo b-to-b
cat "$1$2.b"
fi
./sleep 1.1