mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Framework: clean doesn't work if src is not found
(cherry picked from commit 893f0ba130)
This commit is contained in:
parent
8a84912b63
commit
223d53d2cc
1 changed files with 4 additions and 2 deletions
|
|
@ -227,9 +227,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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue