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

Kartik Mistry kartik at debian.org
Tue Feb 21 05:30:39 UTC 2012


The following commit has been merged in the master branch:
commit b706dd07eb65695b1738a35eae445917ca6e6c64
Author: Kartik Mistry <kartik at debian.org>
Date:   Tue Feb 21 11:00:30 2012 +0530

    Renamed build directory and log file almost identical. Tab completion is now better.

diff --git a/docs/build-fonts.sh b/docs/build-fonts.sh
index e463d1f..27fdf65 100755
--- a/docs/build-fonts.sh
+++ b/docs/build-fonts.sh
@@ -8,11 +8,11 @@ fi
 
 FOLDER=$1
 
-if [ -f ${FOLDER}/font-build.log ]; then
-    rm -f ${FOLDER}/font-build.log
+if [ -f ${FOLDER}/fonts-build.log ]; then
+    rm -f ${FOLDER}/fonts-build.log
 fi
 
-sudo echo "I want to take sudo password to work without bothering you :)"
+sudo echo "I want your password to work without bothering you :)"
 
 for package in $(ls -d $FOLDER/fonts-*);do
     echo "Changing to $package"
@@ -21,16 +21,16 @@ for package in $(ls -d $FOLDER/fonts-*);do
         echo "
 [git-buildpackage]
 builder = git-pbuilder -sa -uc -us
-export-dir = $FOLDER/font_builds
+export-dir = $FOLDER/fonts-build
 tarball-area = $FOLDER/tarballs" > .git/gbp.conf
         git-buildpackage --git-pristine-tar --git-ignore-new
         if [ $? -ne 0 ]; then
-            echo "ERROR: Error in building `basename ${package}`" >> ${FOLDER}/font-build.log
+            echo "ERROR: Error while building `basename ${package}`" >> ${FOLDER}/fonts-build.log
             rm .git/gbp.conf
             cd $FOLDER
             continue
         else
-            echo "SUCCESS: Successfully built `basename ${package}`" >> ${FOLDER}/font-build.log
+            echo "SUCCESS: Successfully built `basename ${package}`" >> ${FOLDER}/fonts-build.log
         fi
         rm .git/gbp.conf
         cd $FOLDER
@@ -38,4 +38,4 @@ tarball-area = $FOLDER/tarballs" > .git/gbp.conf
 done
 
 echo "Built all fonts succesfully. Find it in the $FOLDER"
-echo "Check the log for any errors in ${FOLDER}/font-build.log"
+echo "Check the log for any errors in ${FOLDER}/fonts-build.log"

-- 
Git repository for debian-in



More information about the Debian-in-commits mailing list