summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-03-11 11:53:29 +0200
committerGitHub <noreply@github.com>2025-03-11 11:53:29 +0200
commitb70e3686981e08e69938d6879575ca3f0f9adfbe (patch)
tree7034da741b9a0d9e0748970a862cced336c52460 /Makefile
parent344455475089ee03e3e3a1ad9f7e61b69a2fdfff (diff)
parent755d440bf5bd31d0eb021efe82715faabd905363 (diff)
downloadvyos-1x-b70e3686981e08e69938d6879575ca3f0f9adfbe.tar.gz
vyos-1x-b70e3686981e08e69938d6879575ca3f0f9adfbe.zip
Merge pull request #4388 from jestabro/cleanup-libvyosconfig-build
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