[Pkg-xfce-commits] r4878 - scripts/pbuilder
Yves-Alexis Perez
corsac at alioth.debian.org
Sat Feb 5 10:29:25 UTC 2011
Author: corsac
Date: 2011-02-05 10:29:22 +0000 (Sat, 05 Feb 2011)
New Revision: 4878
Modified:
scripts/pbuilder/pdebuild-sources.sh
Log:
display current build number
Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh 2011-02-05 10:25:21 UTC (rev 4877)
+++ scripts/pbuilder/pdebuild-sources.sh 2011-02-05 10:29:22 UTC (rev 4878)
@@ -160,14 +160,14 @@
[ -z "$PACKAGES" ] && PACKAGES=$(grep -v "^#" $PKGFILE | cut -f 1 -d " ")
-DONE=0
+BUILDING=0
COUNT=$(echo $PACKAGES |wc -w)
for pkg in $PACKAGES
do
- printf "\e]2;[$DONE/$COUNT]: building $pkg\e\\"
+ printf "\e]2;[$BUILDING/$COUNT]: building $pkg\e\\"
+ BUILDING=$((BUILDING+1))
build $pkg
- DONE=$((DONE+1))
done
-printf "\e]2;[$DONE/$COUNT]: done building\e\\"
+printf "\e]2;[$BUILDING/$COUNT]: done building\e\\"
#sudo umount $BUILDPLACE
More information about the Pkg-xfce-commits
mailing list