From d44218f6bd4c57ef34a5540857abcda1a3a7e872 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 28 Jan 2009 18:08:33 +0100 Subject: bugfix pecho not defined ebegin echos "..." automaticaly --- bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index d523183..4728ca2 100644 --- a/bashrc +++ b/bashrc @@ -24,8 +24,9 @@ autopatch() { if [[ $patched == 0 ]]; then patch -g0 --dry -p${level} >/dev/null < $diff if [ $? = 0 ]; then - pecho "auto patching (-p${level}) ${p}" + ebegin "auto patching (-p${level}) ${p}" patch -g0 -p${level} < $diff > /dev/null && patched=1 + eend $? touch ${S}/.${p} fi fi @@ -42,7 +43,7 @@ autopatch() { case $EBUILD_PHASE in compile) - ebegin "Checking for auto patches in ${PATCH_OVERLAY}/${CATEGORY}/${PN} ..." + ebegin "Checking for auto patches in ${PATCH_OVERLAY}/${CATEGORY}/${PN}" if [[ ! -d "$PATCH_OVERLAY" ]]; then eend 1 -- cgit v1.2.3