summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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