]> git.donarmstrong.com Git - debhelper.git/commitdiff
Sometimes SIGINTing the test suite leaves Makefile behind.
authorModestas Vainius <modestas@vainius.eu>
Thu, 3 Dec 2009 22:02:01 +0000 (00:02 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 4 Dec 2009 20:00:45 +0000 (15:00 -0500)
So use -f for ln. It is safe.
(cherry picked from commit d89a2c6d2c7148f6e890c0c11e64b92982d3f869)

t/buildsystems/buildsystem_tests

index 2204f3f5a57ca3e730188e11f3460c91e02cc3ec..1a9e21ca3508b4b81bf160c64dce310d8b1b936d 100755 (executable)
@@ -604,7 +604,7 @@ sub do_rules_for_parallel {
                "make -f - $cmdline 2>&1 >/dev/null", $stdin);
 }
 
-doit("ln", "-s", "parallel.mk", "Makefile");
+doit("ln", "-sf", "parallel.mk", "Makefile");
 
 # Test if dh+override+$(MAKE) legacy punctuation hack work as before
 $ENV{MAKEFLAGS} = "-j5";