From e2420f46582fb7761d04ed86c2201dd79a857e51 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 13 Nov 2015 11:24:29 +0000 Subject: use log.e() instead of log() --- pbuilder-createbuildenv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pbuilder-createbuildenv') diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 4a2bf25..9eaedbf 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -42,7 +42,7 @@ cleanbuildplace log.i "Building the build environment" mkdir -p "$BUILDPLACE" if [ ! -d "$BUILDPLACE" ]; then - log "E: Could not make directory [$BUILDPLACE]" + log.e "Could not make directory [$BUILDPLACE]" exit 1 fi @@ -60,7 +60,7 @@ fi if which "${DEBOOTSTRAP}"; then : # debootstrap exists else - log "E: ${DEBOOTSTRAP} does not exist, install or change DEBOOTSTRAP option" + log.e "${DEBOOTSTRAP} does not exist, install or change DEBOOTSTRAP option" exit 1 fi @@ -75,7 +75,7 @@ if ! ( "${DEBOOTSTRAP}" \ "$BUILDPLACE" \ "$MIRRORSITE" \ $DEBOOTSTRAPSCRIPT ) ; then - log "E: $DEBOOTSTRAP failed" + log.e "$DEBOOTSTRAP failed" exit 1 fi -- cgit v1.2.3