run check in a subshell
This commit is contained in:
parent
c45c838e1a
commit
c0fcd411e0
@ -14,9 +14,11 @@ pclean() {
|
||||
}
|
||||
|
||||
maintains() {
|
||||
(
|
||||
cd /usr/ports/*/$1 > /dev/null 2>&1 && \
|
||||
make show=MAINTAINER || \
|
||||
echo "No port '/usr/ports/*/$1'"
|
||||
)
|
||||
}
|
||||
|
||||
seq() {
|
||||
|
Loading…
Reference in New Issue
Block a user