diff options
Diffstat (limited to 'pdebuild')
-rw-r--r-- | pdebuild | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,7 +25,7 @@ while ! test -d ./debian -o "$(pwd)" = "/" ; do done if test ! -d ./debian; then - echo "E: Cannot find ./debian dir" >&2 + log "E: Cannot find ./debian dir" exit 1 fi; @@ -52,12 +52,12 @@ if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then done cp -a ../${CHANGES} "${BUILDRESULT}" else - echo "E: BUILDRESULT=[$BUILDRESULT] is not a directory." >&2 + log "E: BUILDRESULT=[$BUILDRESULT] is not a directory." exit 1 fi else if ! dpkg-checkbuilddeps -B ; then - echo "W: Unmet build-dependency in source" >&2 + log "W: Unmet build-dependency in source" fi echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | perl -pe 's/(^|\s)-[bB](\s|$)/$1$2/g' | /bin/bash ${PBUILDERROOTCMD} ${PDEBUILD_PBUILDER} --build ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" "$@" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc |