Fix 'compile' script to not call mv when target equals source.
commit971878288bec797087215f7fb1e7c398ef2f3a1a
authorBruno Haible <bruno@clisp.org>
Tue, 6 Oct 2009 20:03:33 +0000 (6 22:03 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Oct 2009 20:03:33 +0000 (6 22:03 +0200)
tree03401744b5b5421b5723f2d3464ffcb8608e363c
parent674ee2f48686aa67507f9fa6dd67487f8a0e3b93
Fix 'compile' script to not call mv when target equals source.

* lib/compile: Don't attempt to move the generated file to its
target destination when it is already at the target destination.
Avoids an mv failure with subdir-objects.
* tests/ccnoco3.test: New test.
* tests/Makefile.am: Adjust.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/compile
tests/Makefile.am
tests/Makefile.in
tests/ccnoco3.test [new file with mode: 0755]