commit ceda6f3c64c2d2b90fd26ea310b8f3c88c4057ae
Author: Kacper Kornet <[email protected]>
Date:   Mon Sep 16 06:44:51 2013 +0100

    checkout template-specs during rpm directory initialization
    
    Suggested-by: glen

 builder.sh | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/builder.sh b/builder.sh
index 5d733df..eb17abb 100755
--- a/builder.sh
+++ b/builder.sh
@@ -2086,6 +2086,7 @@ init_rpm_dir() {
        local rpmdir=$(eval $RPM $RPMOPTS --eval '%{_rpmdir}')
        local buildir=$(eval $RPM $RPMOPTS --eval '%{_builddir}')
        local srpmdir=$(eval $RPM $RPMOPTS --eval '%{_srcrpmdir}')
+       local TEMPLATES=template-specs
        local tmp
 
        echo "Initializing rpm directories to $TOP_DIR from $GIT_SERVER"
@@ -2095,6 +2096,9 @@ init_rpm_dir() {
        if [ ! -e ../rpm-build-tools ]; then
                git clone  ${GIT_SERVER}/${PACKAGES_DIR}/rpm-build-tools.git 
../rpm-build-tools
        fi
+       if [ ! -e ../$TEMPLATES ]; then
+               git clone  ${GIT_SERVER}/projects/$TEMPLATES ../$TEMPLATES
+       fi
        for a in adapter builder fetchsrc_request compile repackage; do
                ln -sf ../rpm-build-tools/${a}.sh $a
        done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/ceda6f3c64c2d2b90fd26ea310b8f3c88c4057ae

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to