From a085a5d97b45b44a5782e72d2bab5a4b42b909d5 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Tue, 24 Mar 2015 21:00:09 +0000 Subject: [PATCH] Fixed output error in functions.source/hardLinkFiles() reporting "ln: bug812-B.jpg: File exists" on MSVC build (Jenkins:1885) --- test/functions.source | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functions.source b/test/functions.source index dea776fb..4c75fabe 100644 --- a/test/functions.source +++ b/test/functions.source @@ -355,6 +355,7 @@ hardLinkFiles() target="$1" shift for var; do + if [ -e var ]; then rm -rf $var ; fi ln $target $var done }