From 8a2c69143925c06b909d16ea8cef76682b268630 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Fri, 5 Aug 2022 12:09:21 +1000 Subject: [PATCH] Fix: Tox fails on second run Tox fails on the second run when the symlink is already available, add -f to force if the symlink exists. Signed-off-by: Anil Belur Change-Id: Iad18a535083644e14cd5734b5b220c0789cf3e43 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8dd9362..1f1178a 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,7 @@ commands_pre = "https://services.gradle.org/distributions/gradle-{env:GRADLE_VER}-bin.zip" \ -o {envtmpdir}/gradle.zip && \ unzip -o {envtmpdir}/gradle.zip -d {envtmpdir} && \ - ln -s {envtmpdir}/gradle-{env:GRADLE_VER}/bin/gradle \ + ln -sf {envtmpdir}/gradle-{env:GRADLE_VER}/bin/gradle \ {envbindir}/gradle; fi' commands = gradle wrapper --gradle-version {env:GRADLE_VER} --distribution-type all -- 2.16.6