xref: /openbmc/openbmc-tools/cla-signers/update-cla.sh (revision cf3c1e6773c0ea0346874da66a609d22cbf11ec3)
1#!/bin/bash
2
3# Sort the names in the CLA (discarding the header)
4cat cla-signers | tail -n +2 | sort -u > cla-signers.new
5# Add a new header with fresh timestamp (discarding old file)
6echo Updated $(date) > cla-signers
7# Add sorted names below header
8cat cla-signers.new >> cla-signers
9# Remove temporary file
10rm cla-signers.new
11