Correct link command.
This commit is contained in:
		
							parent
							
								
									c385cda4e4
								
							
						
					
					
						commit
						9145aec8c5
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -294,8 +294,7 @@ while (my $file = readdir $dh) { | |||
| 
 | ||||
|   my $invoiceTicket = $INVOICE_LINE; | ||||
|   $invoiceTicket =~ s%^.*ticket/(\d+).*$%$1%; | ||||
|   my $num = $ticket; $num =~ s%^.*ticket/(\d+).*$%$1%; | ||||
|   system($RT_CMD, 'link', $invoiceTicket, 'refersto', $num); | ||||
|   system($RT_CMD, 'link', $invoiceTicket, 'refersto', $ticketNum); | ||||
| 
 | ||||
|   if ($pass) { | ||||
|     open(my $rtCommentFH, "|-", $RT_CMD, 'comment', $ticket, '-m', '-'); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn