netcat-openbsd: fix netcat_do_patch problem

${S}/debian should not be deleted after pop the patch,
or we will met error when run below push patch command
since no debian folder found.

QUILT_PATCHES=${S}/debian/patches quilt push -a

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Changqing Li 2018-08-07 16:16:25 +08:00 committed by Khem Raj
parent ed440efa1e
commit 96699be966

View File

@ -30,7 +30,7 @@ netcat_do_patch() {
rm -rf ${S}/.pc
mv ${S}/.pc-netcat ${S}/.pc
QUILT_PATCHES=${S}/debian/patches quilt pop -a
rm -rf ${S}/.pc ${S}/debian
rm -rf ${S}/.pc
fi
QUILT_PATCHES=${S}/debian/patches quilt push -a
mv ${S}/.pc ${S}/.pc-netcat