diff --git a/share/mk/meta2deps.sh b/share/mk/meta2deps.sh index c012fd3e211f..f9412b05f0cb 100755 --- a/share/mk/meta2deps.sh +++ b/share/mk/meta2deps.sh @@ -310,7 +310,7 @@ meta2deps() { *) seen=$dir;; esac case "$dir" in - ${CURDIR:-.}|${CURDIR:-.}/*|"") continue;; + ${CURDIR:-.}|"") continue;; $src_re) # avoid repeating ourselves... case "$DPDEPS,$seensrc," in