[projects/pld-builder.new] Make make-reques-sh -df work with git repositories

draenog draenog at pld-linux.org
Wed Aug 15 06:01:19 CEST 2012


commit 1768b4b04ef96d7287fdfcc0102ae9b956d3e392
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Wed Aug 15 04:55:27 2012 +0100

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

 client/make-request.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index 0a3bc60..4451ef0 100755
--- a/client/make-request.sh
+++ b/client/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
 


More information about the pld-cvs-commit mailing list