X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-debian.sh;h=039dbe37c48b22759d19a8c1c46a020323cb9216;hb=54fd27f8d47fcdaea8e14eebddddae2f13c90d0d;hp=c8fc4f80a06d7a7ab9868112d477536b7d02fd11;hpb=b874bb334a10f8e0318ffa98280f339a2ba6db45;p=clsql.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index c8fc4f8..039dbe3 100755 --- a/debian/make-debian.sh +++ b/debian/make-debian.sh @@ -1,24 +1,5 @@ -#!/bin/bash +#!/bin/bash -e -set -e - -PKG=clsql -DEBPKG=cl-sql - -PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} -WORK_DIR=/usr/local/src/Work/${PKG} - -echo "Building Debian files" -export CVSROOT=`cat CVS/Root` -pushd ${WORK_DIR} > /dev/null -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -F -d ${DEBPKG} -uc -us -sa -i -H${WORK_DIR}/debian/cvsbp-prepare.sh $* - -popd > /dev/null - -echo "Checking package with lintian" -DEBVERSION=`sed -n -e "s/${DEBPKG} (\(.*\)).*/\1/p" < ${WORK_DIR}/debian/changelog |head -1` -pushd ${PACKAGE_DIR} > /dev/null -lintian ${DEBPKG}_${DEBVERSION}_*.changes -popd > /dev/null +bdeb.sh -Sclsql -Dcl-sql -bc -bp $* exit 0