From 3db62a2c36564c42fbeb4c7358bf70b8de1e74e1 Mon Sep 17 00:00:00 2001 From: dancer Date: Sat, 25 Aug 2001 14:16:12 +0000 Subject: implementing the pbuilder command --- pbuilder | 19 +++++++++++++------ pbuilder-buildpackage | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pbuilder b/pbuilder index b0d7a55..3e45c8a 100755 --- a/pbuilder +++ b/pbuilder @@ -10,9 +10,16 @@ Copyright 2001 Junichi Uekawa pbuilder [operation] [operation options] -pbuilder create --basetgz base.tgz -pbuilder update --basetgz base.tgz --distribution woody -pbuilder build --basetgz base.tgz pbuilder_2.2.0-1.dsc +command lines: +pbuilder create [--basetgz base.tgz-path] [--distribution woody|sid] + Creates a base.tgz + +pbuilder update [--basetgz base.tgz-path] [--distribution woody|sid] + Updates a base.tgz + +pbuilder build [--buildplace temp-build-path] [--basetgz base.tgz-path] pbuilder_2.2.0-1.dsc + Builds using the base.tgz + EOF exit 1 } @@ -22,15 +29,15 @@ test -z "$1" && showhelp case "$1" in create) shift; - echo $@ + /usr/sbin/pbuilder-createbuildenv $@ ;; update) shift ; - echo $@ + /usr/sbin/pbuilder-updatebuildenv $@ ;; build) shift ; - echo $@ + /usr/sbin/pbuilder-buildpackage $@ ;; *) showhelp diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 13b1bc6..1e4c52f 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -32,7 +32,7 @@ function checkbuilddep () { PACKAGENAME="$1" CHROOTEXEC="chroot $BUILDPLACE " -echo cleaning the build env +echo cleaning the build env "[$BUILDPLACE]" rm -rf "$BUILDPLACE" echo building the build env -- cgit v1.2.3