diff options
author | Mike Pagano <mpagano@gentoo.org> | 2015-11-16 18:37:55 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2015-11-16 18:37:55 -0500 |
commit | aac24917ebe254a23990f0d7fff9f6f570b99d15 (patch) | |
tree | 5123e788b33acfc1cb687c52717601e4fa6dfd30 /eclass/kernel-2.eclass | |
parent | dev-libs/libcgroup: refactor the init scripts. (diff) | |
download | gentoo-aac24917ebe254a23990f0d7fff9f6f570b99d15.tar.gz gentoo-aac24917ebe254a23990f0d7fff9f6f570b99d15.tar.bz2 gentoo-aac24917ebe254a23990f0d7fff9f6f570b99d15.zip |
kernel-2.eclass: Fix for git-sources 4.4_rcX
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 0f47b8c3db80..5a9ea9f60781 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1079,9 +1079,9 @@ unipatch() { # https://bugs.gentoo.org/show_bug.cgi?id=507656 # #################################################################### if [[ ${PN} == "git-sources" ]] ; then - if [[ ${KV_MAJOR}${KV_PATCH} -ge 315 && ${RELEASETYPE} == -rc ]] ; then + if [[ ${KV_MAJOR}.${KV_PATCH} > 3.15 && ${RELEASETYPE} == -rc ]] ; then ebegin "Applying ${i/*\//} (-p1)" - if [ $(patch -p1 --no-backup-if-mismatch -f < ${i} >> ${STDERR_T}) "$?" -eq 0 ]; then + if [ $(patch -p1 --no-backup-if-mismatch -f < ${i} >> ${STDERR_T}) "$?" -le 2 ]; then eend 0 rm ${STDERR_T} break |