diff --git a/vendorsetup.sh b/vendorsetup.sh
index e43cab116e275d3a64ac2b728cb19770c2c05ec5..8b7bee6d91d302e52c7ae077a1dcec692568c613 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -146,7 +146,7 @@ __patch_tree()
             for ID in ${TREE_ID} ; do
                local D=${DIR}/${ID}
                [[ -d $D ]] || continue
-               PATCHES=$(find $D -type f | sort -fs)
+               PATCHES=$(find $D/ -type f | sort -fs)
                for P in ${PATCHES}; do
                   PRJ=$(dirname ${P#${DIR}/${ID}/})
                   PATCH_ADDED=0