diff options
-rwxr-xr-x | build-aux/build-debian.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/build-debian.sh b/build-aux/build-debian.sh index fc0c30b..505c9cd 100755 --- a/build-aux/build-debian.sh +++ b/build-aux/build-debian.sh @@ -60,17 +60,12 @@ create_reprepro_conf() { echo } -download_pbuilder_chroot - ${MAKE_CMD:-make} dist-xz MY_P="${PN}_${PV}" mv ${P}.tar.xz "${BUILDDIR}/${MY_P}.orig.tar.xz" -RES="${BUILDDIR}/deb/${DIST}" -mkdir -p "${RES}" - rm -rf "${BUILDDIR}/${P}" tar -xf "${BUILDDIR}/${MY_P}.orig.tar.xz" -C "${BUILDDIR}" cp -r "${SRCDIR}/debian" "${BUILDDIR}/${P}/" @@ -86,6 +81,11 @@ then exit 0 fi +download_pbuilder_chroot + +RES="${BUILDDIR}/deb/${DIST}" +mkdir -p "${RES}" + pdebuild \ --pbuilder cowbuilder \ --buildresult "${RES}" \ |