diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-13 11:23:44 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 10:16:22 +0000 |
commit | 580b246ae589e4b6011f6149e4680b1fa08497f4 (patch) | |
tree | b45a0d5b85ce82c9e0cc0574a5677efe5acd0994 /pbuilder-createbuildenv | |
parent | 7222b9fadd6be6aa3c50b1aceab2acf9a8ff40b5 (diff) | |
download | pbuilder-580b246ae589e4b6011f6149e4680b1fa08497f4.tar pbuilder-580b246ae589e4b6011f6149e4680b1fa08497f4.tar.gz |
use log.i() instead of log()
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 14 |
1 files changed, 7 insertions, 7 deletions
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 |