[Debian-in-commits] [SCM] Git repository for debian-in branch, muneeb, updated. 9329b1680b2a411dec31cbcba27242faf95adb39

Muneeb Shaikh iammuneeb at gmail.com
Sun Jan 8 16:59:02 UTC 2012


The following commit has been merged in the muneeb branch:
commit 9329b1680b2a411dec31cbcba27242faf95adb39
Author: Muneeb Shaikh <iammuneeb at gmail.com>
Date:   Sun Jan 8 22:26:59 2012 +0530

    formatting log, changed to cowbuilder

diff --git a/docs/build-fonts.sh b/docs/build-fonts.sh
index 9f70228..291cc9b 100755
--- a/docs/build-fonts.sh
+++ b/docs/build-fonts.sh
@@ -8,6 +8,9 @@ fi
 
 FOLDER=$1
 
+if [ -f ${FOLDER}/font-build.log ]; then
+    rm -f ${FOLDER}/font-build.log
+
 sudo echo "I want to take sudo password to work without bothering you :)"
 
 for package in $(ls -d $FOLDER/fonts-*);do
@@ -16,17 +19,17 @@ for package in $(ls -d $FOLDER/fonts-*);do
         cd $package
         echo "
 [git-buildpackage]
-builder = pdebuild --debbuildopts '-sa -uc -us'
+builder = git-pbuilder --debbuildopts '-sa -uc -us'
 export-dir = $FOLDER/font_builds
 tarball-area = $FOLDER/tarballs" > .git/gbp.conf
         git-buildpackage --git-pristine-tar --git-ignore-new
         if [ $? -ne 0 ]; then
-            echo "ERROR: Error in building ${package}" >> ${FOLDER}/font-build.log
+            echo "ERROR: Error in building `basename ${package}`" >> ${FOLDER}/font-build.log
             rm .git/gbp.conf
             cd $FOLDER
             continue
         else
-            echo "SUCCESS: Seuccessfully built ${package}" >> ${FOLDER}/font-build.log
+            echo "SUCCESS: Seuccessfully built `basename ${package}`" >> ${FOLDER}/font-build.log
         fi
         rm .git/gbp.conf
         cd $FOLDER

-- 
Git repository for debian-in



More information about the Debian-in-commits mailing list