From 755d440bf5bd31d0eb021efe82715faabd905363 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 10 Mar 2025 15:31:41 -0500 Subject: T5400: clean up directory as needed before local build of libvyosconfig --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e194b6d2c..3f3ba5ba7 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,8 @@ op_xml_obj = $(op_xml_src:.xml.in=.xml) .ONESHELL: libvyosconfig: if ! [ -f $(LIBVYOSCONFIG_BUILD_PATH) ]; then - git clone https://github.com/vyos/libvyosconfig.git /tmp/libvyosconfig || exit 1 + rm -rf /tmp/libvyosconfig && \ + git clone https://github.com/vyos/libvyosconfig.git /tmp/libvyosconfig || exit 1 cd /tmp/libvyosconfig && \ git checkout 677d1e2bf8109b9fd4da60e20376f992b747e384 || exit 1 ./build.sh -- cgit v1.2.3