X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fmake-debian.sh;h=039dbe37c48b22759d19a8c1c46a020323cb9216;hb=228cb508edfdc501235ffcaf4f0ea1803e3f55a4;hp=d9e87bacc147e99bbfe24d70c04098f11a6d955a;hpb=84c62eec2a8bb648e9e93d049656b6f91b6769b4;p=clsql.git diff --git a/debian/make-debian.sh b/debian/make-debian.sh index d9e87ba..039dbe3 100755 --- a/debian/make-debian.sh +++ b/debian/make-debian.sh @@ -1,19 +1,5 @@ -#!/bin/bash +#!/bin/bash -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` -cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -F -d ${DEBPKG} -uc -us -sa -i.cvsignore $* - -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