summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-03-10 15:31:41 -0500
committerJohn Estabrook <jestabro@vyos.io>2025-03-10 15:31:41 -0500
commit755d440bf5bd31d0eb021efe82715faabd905363 (patch)
tree7034da741b9a0d9e0748970a862cced336c52460 /Makefile
parent344455475089ee03e3e3a1ad9f7e61b69a2fdfff (diff)
downloadvyos-1x-755d440bf5bd31d0eb021efe82715faabd905363.tar.gz
vyos-1x-755d440bf5bd31d0eb021efe82715faabd905363.zip
T5400: clean up directory as needed before local build of libvyosconfig
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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