Framework: clean doesn't work if src is not found

This commit is contained in:
Franco Fichtner
2017-11-24 07:43:38 +00:00
parent 7dab3a4273
commit 893f0ba130
+4 -2
View File
@@ -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 \