This is the mail archive of the gnats-devel@sources.redhat.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: v4 send-pr --request-id is broken


send-pr --request-id is not working in the current v4 CVS. Instead of the 
intended PR, the default template would be sent. The following patch fixes 
this.

Yngve Svendsen


Index: send-pr.sh
===================================================================
RCS file: /cvs/gnats/gnats/send-pr/send-pr.sh,v
retrieving revision 1.16
diff -u -p -r1.16 send-pr.sh
--- send-pr.sh	2001/04/08 18:28:25	1.16
+++ send-pr.sh	2001/05/15 14:29:29
@@ -432,16 +432,16 @@ fi
  # TEMP is the PR that we are editing.  When we're done, REF will contain
  # the final PR to be sent.

-while [ -z "$REQUEST_ID" ]; do
-  CNT=0
+#
+# Remove comments.
+#
+echo '/^SEND-PR:/d' >> $FIXFIL
+sed -f $FIXFIL $TEMP > $REF

-  #
-  #	Remove comments.
-  #
-  echo '/^SEND-PR:/d' >> $FIXFIL
-  sed -f $FIXFIL $TEMP > $REF
+# REF now has the actual PR that we want to send.

-  # REF now has the actual PR that we want to send.
+while [ -z "$REQUEST_ID" ]; do
+  CNT=0

    #
    # Check that synopsis is not empty.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]