[Pbuilder-maint] pbuilder CVS update: pbuilder
pbuilder-buildpackage ChangeLog
pbuilder CVS Commit
pbuilder-maint at lists.alioth.debian.org
Sat Jun 10 15:09:53 UTC 2006
User: dancer
Date: 06/06/10 15:09:53
Modified: . pbuilder-buildpackage ChangeLog
Log:
do error checking for buildresult.
Revision Changes Path
1.126 +11 -4 pbuilder/pbuilder-buildpackage
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage?annotate=1.126&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage?rev=1.126&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage.diff?r1=1.126&r2=1.125&cvsroot=
-----------------------------------
Index: pbuilder-buildpackage
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/pbuilder-buildpackage,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- pbuilder-buildpackage 10 Jun 2006 15:05:14 -0000 1.125
+++ pbuilder-buildpackage 10 Jun 2006 15:09:52 -0000 1.126
@@ -57,8 +57,15 @@
loadhooks
if [ ! -d "${BUILDRESULT}" ]; then
- echo " -> created buildresult dir: ${BUILDRESULT}"
- mkdir -p "${BUILDRESULT}"
+ if [ -n "${BUILDRESULT}" ] ; then
+ mkdir -p "${BUILDRESULT}"
+ fi
+ if [ -d "${BUILDRESULT}" ]; then
+ echo " -> created buildresult dir: ${BUILDRESULT}"
+ else
+ echo "E: failed creating buildresult dir: ${BUILDRESULT}"
+ exit 1
+ fi
fi
if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then
1.394 +3 -1 pbuilder/ChangeLog
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog?annotate=1.394&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog?rev=1.394&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog.diff?r1=1.394&r2=1.393&cvsroot=
-----------------------------------
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/ChangeLog,v
retrieving revision 1.393
retrieving revision 1.394
diff -u -r1.393 -r1.394
--- ChangeLog 10 Jun 2006 15:08:09 -0000 1.393
+++ ChangeLog 10 Jun 2006 15:09:53 -0000 1.394
@@ -1,5 +1,7 @@
2006-06-11 Junichi Uekawa <dancer at debian.org>
+ * pbuilder-buildpackage: actually do error-checking.
+
* pbuilder-checkparams: do not error out if buildresult directory
does not exist.
More information about the Pbuilder-maint
mailing list