[Debian-in-commits] [SCM] Git repository for debian-in branch, master, updated. 3b52604dbc22d55c702fc967c20cf4d008e03a74

Vasudev Kamath kamathvasudev at gmail.com
Sun Jan 8 14:27:39 UTC 2012


The following commit has been merged in the master branch:
commit 3b52604dbc22d55c702fc967c20cf4d008e03a74
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date:   Sun Jan 8 19:58:02 2012 +0530

    Some fault tolerance is added

diff --git a/docs/build-fonts.sh b/docs/build-fonts.sh
index 1b7b7dd..c729573 100755
--- a/docs/build-fonts.sh
+++ b/docs/build-fonts.sh
@@ -12,13 +12,15 @@ sudo echo "I want to take sudo password to work without bothering you :)"
 
 for package in $(ls -d $FOLDER/fonts-*);do
     echo "Changing to $package"
-    cd $package
-    echo "
+    if [ -d $package ]; then
+        cd $package
+        echo "
 [git-buildpackage]
-builder = git-pbuilder -uc -us" > .git/gbp.conf
-    git-buildpackage --git-pristine-tar
-    rm .git/gbp.conf
-    cd $FOLDER
+builder = pdebuild --debbuildopts '-sa -uc -us'" > .git/gbp.conf
+        git-buildpackage --git-pristine-tar
+        rm .git/gbp.conf
+        cd $FOLDER
+    fi
 done
 
 echo "Built all fonts succesfully. Find it in the $FOLDER"
\ No newline at end of file

-- 
Git repository for debian-in



More information about the Debian-in-commits mailing list