commit cd38d395314c271ec6af92a15d689a1b0a422e1c
Author: Kacper Kornet <[email protected]>
Date:   Wed Aug 15 04:55:27 2012 +0100

    Make make-reques-sh -df work with git repositories

 make-request.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index 0a3bc60..4451ef0 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -133,16 +133,16 @@ df_fetch() {
 
        for spec in $specs; do
                local SPEC=$(echo "$spec" | sed -e 's|:.*||')
+                SPEC=${SPEC%.spec}
                local BRANCH=$(echo "$spec" | sed -e 's|.*:||')
                echo >&2 "Distfiles Request: $SPEC:$BRANCH via $MAILER 
${VIA_ARGS:+ ($VIA_ARGS)}"
                cat <<-EOF | "$MAILER" -t -i $VIA_ARGS
                        To: $DMAIL
                        From: $LOGIN <$LOGIN@$HOST>
                        Subject: fetchsrc_request notify
-                       X-CVS-Module: SPECS
                        X-distfiles-request: yes
                        X-Login: $LOGIN
-                       X-Spec: $SPEC
+                       X-Package: $SPEC
                        X-Branch: $BRANCH
                        X-Flags: force-reply
 
================================================================

---- gitweb:

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

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

Reply via email to