mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Framework: clean doesn't work if src is not found
This commit is contained in:
+4
-2
@@ -229,9 +229,11 @@ umount: check
|
||||
umount -f "<above>:${.CURDIR}/src"
|
||||
|
||||
clean: check
|
||||
@git reset -q ${.CURDIR}/src && \
|
||||
@if [ -d ${.CURDIR}/src ]; then \
|
||||
git reset -q ${.CURDIR}/src && \
|
||||
git checkout -f ${.CURDIR}/src && \
|
||||
git clean -xdqf ${.CURDIR}/src
|
||||
git clean -xdqf ${.CURDIR}/src; \
|
||||
fi
|
||||
|
||||
lint-desc: check
|
||||
@if [ ! -f ${.CURDIR}/${PLUGIN_DESC} ]; then \
|
||||
|
||||
Reference in New Issue
Block a user