Index: Scripts/smart_makepatch.sh =================================================================== --- Scripts/smart_makepatch.sh (revision 452509) +++ Scripts/smart_makepatch.sh (working copy) @@ -186,7 +186,7 @@ local ORIG local new_list new_list=$(cd "${PATCH_WRKSRC}" && \ - find -s * -type f -name '*.orig' 2>/dev/null) + find -s -f * -type f -name '*.orig' 2>/dev/null) (cd "${PATCH_WRKSRC}" && for F in ${new_list}; do ORIG=${F#./} NEW=${ORIG%.orig}