aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-03-31 13:58:31 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-03-31 13:58:31 +0900
commitbdd9e38edfdbb5cb36d076be236bd817e0c49790 (patch)
tree11c8fbb2c4f415e15d696d275be04ba5413ffa69
parentb893c5591c3edfcdab89b6a9331bc515ef8a6b32 (diff)
downloadpbuilder-bdd9e38edfdbb5cb36d076be236bd817e0c49790.tar
pbuilder-bdd9e38edfdbb5cb36d076be236bd817e0c49790.tar.gz
move around echobacktime definition location. (closes: #666440)
Seems like my regression test was happily claiming to be successful even when things have failed. Hmmm..
-rw-r--r--pbuilder-buildpackage-funcs5
-rw-r--r--pbuilder-modules4
2 files changed, 4 insertions, 5 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 0c19dc7..3083f03 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -54,11 +54,6 @@ function checkbuilddep () {
fi
}
-function echobacktime () {
- log "I: Current time: $(date)"
- log "I: pbuilder-time-stamp: $(date +%s)"
-}
-
function showbuildbanner () {
# show some banners for building
log "I: pbuilder-buildpackage/"$(dpkg --print-architecture)
diff --git a/pbuilder-modules b/pbuilder-modules
index b2e6585..5c935eb 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -459,6 +459,10 @@ function extractbuildplace () {
mkdir -p "$BUILDPLACE/tmp/buildd"
}
+function echobacktime () {
+ log "I: Current time: $(date)"
+ log "I: pbuilder-time-stamp: $(date +%s)"
+}
function recover_aptcache() {
local doit