Merge pull request #7826 from ebfe/patch

xbps-src: ignore files in patches/ without patch/diff suffix
This commit is contained in:
Enno Boland 2017-09-26 18:31:32 +02:00 committed by GitHub
commit ec31b25b42
44 changed files with 3 additions and 3 deletions

View File

@ -20,13 +20,13 @@ _process_patch() {
elif [[ $f =~ .bz2$ ]]; then elif [[ $f =~ .bz2$ ]]; then
bunzip2 "$wrksrc/${_patch}" bunzip2 "$wrksrc/${_patch}"
_patch=${_patch%%.bz2} _patch=${_patch%%.bz2}
elif [[ $f =~ .diff ]]; then elif [[ $f =~ .diff$ ]]; then
: :
elif [[ $f =~ .patch ]]; then elif [[ $f =~ .patch$ ]]; then
: :
else else
msg_warn "$pkgver: unknown patch type: $i.\n" msg_warn "$pkgver: unknown patch type: $i.\n"
continue return 0
fi fi
cd "$wrksrc" cd "$wrksrc"