run check in a subshell

This commit is contained in:
Aaron Bieber 2020-07-16 10:40:09 -06:00
parent c45c838e1a
commit c0fcd411e0

View File

@ -14,9 +14,11 @@ pclean() {
} }
maintains() { maintains() {
cd /usr/ports/*/$1 > /dev/null 2>&1 && \ (
make show=MAINTAINER || \ cd /usr/ports/*/$1 > /dev/null 2>&1 && \
echo "No port '/usr/ports/*/$1'" make show=MAINTAINER || \
echo "No port '/usr/ports/*/$1'"
)
} }
seq() { seq() {