Fix more inconsistent behaviour with symlinks in paths.
Both redo and minimal/do were doing slightly weird things with symlinked directories, especially when combined with "..". For example, if x is a link to ., then x/x/x/x/../y should resolve to "../y", which is quite non-obvious. Added some tests to make sure this stays fixed.
This commit is contained in:
parent
1f64cc4525
commit
686c381109
13 changed files with 121 additions and 8 deletions
2
clean.do
2
clean.do
|
|
@ -6,7 +6,7 @@ if [ -e .do_built ]; then
|
|||
done <.do_built
|
||||
fi
|
||||
[ -z "$DO_BUILT" ] && rm -rf .do_built .do_built.dir
|
||||
rm -rf minimal/.do_built minimal/.do_built.dir docs.out
|
||||
rm -rf minimal/.do_built minimal/.do_built.dir minimal/y docs.out
|
||||
redo t/clean docs/clean redo/clean
|
||||
rm -f *~ .*~ */*~ */.*~ *.pyc install.wrapper
|
||||
find . -name '*.tmp' -exec rm -f {} \;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue