If we tried to build target a/b/c/d and a/b/c didn't exist yet, we would correctly name the temp file something like a__b/c__d.tmp. But if a/b didn't exist yet, we named the temp file a/b__c/d.tmp, which didn't work. Instead, name it a/b__c__d.tmp as expected.
11 lines
310 B
Text
11 lines
310 B
Text
exec >&2
|
|
rm -rf t/.redo redo-sh
|
|
if [ -e .do_built ]; then
|
|
while read x; do
|
|
[ -d "$x" ] || rm -f "$x"
|
|
done <.do_built
|
|
fi
|
|
[ -z "$DO_BUILT" ] && rm -rf .do_built .do_built.dir
|
|
redo t/clean Documentation/clean version/clean
|
|
rm -f *~ .*~ */*~ */.*~ *.pyc install.wrapper
|
|
find . -name '*.tmp' -exec rm -fv {} \;
|