Date: Wed, 06 Jun 2012 15:41:28 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Leslie Jensen <leslie@eskk.nu> Cc: freebsd-questions@FreeBSD.org Subject: Re: Portmaster and update progress, suggestion. Message-ID: <4FCFDC98.5070002@FreeBSD.org> In-Reply-To: <4FCFD46B.2070306@FreeBSD.org> References: <4FCA2CAE.6020809@eskk.nu> <4FCA4ACB.9040309@FreeBSD.org> <4FCAFCE0.4070807@eskk.nu> <alpine.BSF.2.00.1206030745080.91341@wonkity.com> <alpine.BSF.2.00.1206031018000.92177@wonkity.com> <4FCC6557.40403@eskk.nu> <4FCC66A0.4030405@FreeBSD.org> <4FCC6E7D.50004@eskk.nu> <alpine.BSF.2.00.1206040752260.97869@wonkity.com> <4FCCC1DA.4020202@eskk.nu> <4FCF8141.2040402@eskk.nu> <4FCFD46B.2070306@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 06/06/2012 15:06, Doug Barton wrote:
> On 06/06/2012 09:11, Leslie Jensen wrote:
>> My initial wish for some information about the build progress is still
>> very much on the table.
>
> Try the attached patch.
Actually try this one instead. :)
--
This .signature sanitized for your protection
[-- Attachment #2 --]
Index: portmaster
===================================================================
--- portmaster (revision 236697)
+++ portmaster (working copy)
@@ -2208,6 +2208,8 @@
}
term_printf () {
+ case "$1" in *\>\>*) echo -e "\n\t${PM_PARENT_PORT}${1}" ;; esac
+
[ -n "$PM_NO_TERM_TITLE" ] && return
case "$TERM" in cons*) return ;; esac
@@ -2283,7 +2285,6 @@
deps=" (${dep_of_deps}/${num_of_deps})"
if [ -n "$PM_DEPTH" ]; then
- echo " ${PM_DEPTH}>> ${1#$pd/}"
term_printf " ${PM_DEPTH#* }>> ${1#$pd/}${deps}"
else
[ -n "$UPDATE_ALL" ] && term_printf " >> ${1#$pd/}${deps}"
@@ -2527,19 +2528,16 @@
safe_exit
elif [ -n "$PM_FIRST_PASS" -a -z "$PM_PACKAGES" ]; then
echo "===>>> Initial dependency check complete for $portdir"
- case "$PM_DEPTH" in *\>\>*) echo " $PM_DEPTH" ;; esac
else
echo "===>>> Dependency check complete for $portdir"
- case "$PM_DEPTH" in
- *\>\>*) echo " $PM_DEPTH" ;;
- *) if [ "$PM_PARENT_PORT" = All ]; then
- local deps
- deps=" (${dep_of_deps}/${num_of_deps})"
- term_printf " >> ${upg_port:-$portdir}${deps}"
- else
- term_printf
- fi ;;
- esac
+
+ if [ "$PM_PARENT_PORT" = All ]; then
+ local deps
+ deps=" (${dep_of_deps}/${num_of_deps})"
+ term_printf " >> ${upg_port:-$portdir}${deps}"
+ else
+ term_printf
+ fi
fi
} # dependency_check()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCFDC98.5070002>
