[Pkg-xfce-commits] r4817 - scripts/pbuilder
Yves-Alexis Perez
corsac at alioth.debian.org
Mon Jan 17 08:03:04 UTC 2011
Author: corsac
Date: 2011-01-17 20:03:02 +0000 (Mon, 17 Jan 2011)
New Revision: 4817
Modified:
scripts/pbuilder/pdebuild-sources.sh
Log:
add package count in titlebar
Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh 2011-01-17 19:35:51 UTC (rev 4816)
+++ scripts/pbuilder/pdebuild-sources.sh 2011-01-17 20:03:02 UTC (rev 4817)
@@ -158,9 +158,14 @@
[ -z "$PACKAGES" ] && PACKAGES=$(grep -v "^#" $PKGFILE | cut -f 1 -d " ")
+DONE=0
+COUNT=$(echo $PACKAGES |wc -w)
for pkg in $PACKAGES
do
+ /bin/echo -e "\e]2;[$DONE/$COUNT]: building $pkg\e\\"
build $pkg
-done
+ DONE=$((DONE+1))
+done
+/bin/echo -e "\e]2;[$DONE/$COUNT]: done building\e\\"
#sudo umount $BUILDPLACE
More information about the Pkg-xfce-commits
mailing list