aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-13 11:24:29 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-15 10:16:22 +0000
commite2420f46582fb7761d04ed86c2201dd79a857e51 (patch)
tree4c280b1df30beef695c9a84178aa405f07c21cce /pbuilder-createbuildenv
parentfcee0334be27ea4ec4a5fdc3f940e015e60defe9 (diff)
downloadpbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar
pbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar.gz
use log.e() instead of log()
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv6
1 files changed, 3 insertions, 3 deletions
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