summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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