diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-13 11:24:29 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 10:16:22 +0000 |
commit | e2420f46582fb7761d04ed86c2201dd79a857e51 (patch) | |
tree | 4c280b1df30beef695c9a84178aa405f07c21cce /pbuilder-createbuildenv | |
parent | fcee0334be27ea4ec4a5fdc3f940e015e60defe9 (diff) | |
download | pbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar pbuilder-e2420f46582fb7761d04ed86c2201dd79a857e51.tar.gz |
use log.e() instead of log()
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 6 |
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 |