hack/cherry_pick_pull.sh: cleanup patch files
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
		@@ -173,9 +173,13 @@ for pull in "${PULLS[@]}"; do
 | 
			
		||||
      exit 1
 | 
			
		||||
    fi
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # set the subject
 | 
			
		||||
  subject=$(grep -m 1 "^Subject" "/tmp/${pull}.patch" | sed -e 's/Subject: \[PATCH//g' | sed 's/.*] //')
 | 
			
		||||
  SUBJECTS+=("#${pull}: ${subject}")
 | 
			
		||||
 | 
			
		||||
  # remove the patch file from /tmp
 | 
			
		||||
  rm -f "/tmp/${pull}.patch"
 | 
			
		||||
done
 | 
			
		||||
gitamcleanup=false
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user