summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-01-28 18:08:33 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2009-01-28 18:08:33 +0100
commitd44218f6bd4c57ef34a5540857abcda1a3a7e872 (patch)
tree161c7f12582c572861747b71ff66cfbad2cedaf1 /bashrc
parent0ca3f6991a7c8352423a1b2673d91941917cfcb2 (diff)
downloadportage-ext-d44218f6bd4c57ef34a5540857abcda1a3a7e872.tar.gz
portage-ext-d44218f6bd4c57ef34a5540857abcda1a3a7e872.tar.xz
portage-ext-d44218f6bd4c57ef34a5540857abcda1a3a7e872.zip
bugfix
pecho not defined ebegin echos "..." automaticaly
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc5
1 files 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