aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2002-02-08 10:35:39 +0000
committerdancer <dancer>2002-02-08 10:35:39 +0000
commitfeb024dbd94b5651de1adeb957b7a80266c23403 (patch)
tree311fc4a551cade238e41b54d69d2d17c487cb07e /pbuilder-buildpackage
parent44188b8e129aba64693f8919185c7b8a6c4869e6 (diff)
downloadpbuilder-feb024dbd94b5651de1adeb957b7a80266c23403.tar
pbuilder-feb024dbd94b5651de1adeb957b7a80266c23403.tar.gz
added a routine in build routine to echo back the current time.
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage9
1 files changed, 8 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index c539867..ffdb95f 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -164,17 +164,23 @@ function checkbuilddep () {
checkbuilddep_internal;
}
+function echobacktime () {
+ echo "Current time: $(date)"
+ echo "pbuilder-time-stamp: $(date +%s)"
+}
+
. /usr/lib/pbuilder/pbuilder-checkparams
PACKAGENAME="$1"
CHROOTEXEC="chroot $BUILDPLACE "
-
if [ ! -f "$PACKAGENAME" ]; then
echo "Command line parameter [$PACKAGENAME] is not a valid .dsc file name" >&2
exit 1;
fi;
+echobacktime
+
extractbuildplace
echo Copying source file
@@ -242,3 +248,4 @@ fi
cleanbuildplace
+echobacktime