xref: /openbmc/openbmc-tools/cla-signers/update-cla.sh (revision 4002082a47acbe1189bacc1473445f256b8bfef0)
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