From 580b246ae589e4b6011f6149e4680b1fa08497f4 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 13 Nov 2015 11:23:44 +0000 Subject: use log.i() instead of log() --- pbuilder-createbuildenv | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pbuilder-createbuildenv') diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 39f3c31..4a2bf25 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -25,7 +25,7 @@ set -e if [ -z "$DISTRIBUTION" ]; then DISTRIBUTION=sid fi -log "I: Distribution is $DISTRIBUTION." +log.i "Distribution is $DISTRIBUTION." if [ "${PBUILDER_DEBUGMODE}" = "yes" ]; then TRAP="echo ignoring trap " @@ -39,7 +39,7 @@ echobacktime # first clean it. cleanbuildplace -log "I: Building the build environment" +log.i "Building the build environment" mkdir -p "$BUILDPLACE" if [ ! -d "$BUILDPLACE" ]; then log "E: Could not make directory [$BUILDPLACE]" @@ -48,12 +48,12 @@ fi $TRAP cleanbuildplace exit -log "I: running $DEBOOTSTRAP" +log.i "running $DEBOOTSTRAP" unset DEBOOTSTRAPSCRIPT if [ -n "$HOOKDIR" ]; then if [ -f "$HOOKDIR/$DISTRIBUTION" ]; then DEBOOTSTRAPSCRIPT=$(readlink -f "$HOOKDIR")"/$DISTRIBUTION" - log "I: Applying user distribution dist build script $DEBOOTSTRAPSCRIPT" + log.i "Applying user distribution dist build script $DEBOOTSTRAPSCRIPT" fi fi @@ -79,7 +79,7 @@ if ! ( "${DEBOOTSTRAP}" \ exit 1 fi -log "I: debootstrap finished" +log.i "debootstrap finished" mkdir -p "${BUILDPLACE}$BUILDDIR" @@ -89,8 +89,8 @@ installaptlines add_additional_aptkeyrings executehooks "G" -log "I: Refreshing the base.tgz " -log "I: upgrading packages" +log.i "Refreshing the base.tgz " +log.i "upgrading packages" mountproc $TRAP umountproc_cleanbuildplace_trap exit sighup $CHROOTEXEC /usr/bin/apt-get -q "${APTGETOPT[@]}" update -- cgit v1.2.3