]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
ensure the right permissions as dpkg-deb ensists
[apt.git] / test / integration / framework
index bbe77dcf8b2b32fe8f39b7ecfca380655a0c6058..15c51e6efcad2cdfacde7a23b7f83b00ff03d712 100644 (file)
@@ -432,6 +432,8 @@ Package: $NAME" >> ${BUILDDIR}/debian/control
                (cd ${BUILDDIR}; dpkg-gencontrol -DArchitecture=$arch)
                (cd ${BUILDDIR}/debian/tmp; md5sum $(find usr/ -type f) > DEBIAN/md5sums)
                local LOG="${BUILDDIR}/../${NAME}_${VERSION}_${arch}.dpkg-deb.log"
+               # ensure the right permissions as dpkg-deb ensists
+               chmod 755 ${BUILDDIR}/debian/tmp/DEBIAN
                if ! dpkg-deb --build ${BUILDDIR}/debian/tmp ${BUILDDIR}/.. >$LOG 2>&1; then
                        cat $LOG
                        false