blob: 302974f677d7fd54c6566d343992593cf49eac57 [file] [log] [blame]
Sergii Piatakov564ed962017-11-02 17:55:20 +02001#!/bin/bash
Dan Albert32d55922016-10-20 10:34:47 -07002DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3cd $DIR/..
Dan Albertffa5cbe2021-02-03 16:44:37 -08004python3 ./libc/tools/generate_notice.py libc libm > libc/NOTICE
5if [ $? -ne 0 ]; then
6 >&2 echo NOTICE file generation failed
7 exit 1
8fi
Dan Albert32d55922016-10-20 10:34:47 -07009
Dan Albertc30862f2016-10-20 11:45:16 -070010git diff --exit-code HEAD libc/NOTICE
Dan Albert32d55922016-10-20 10:34:47 -070011exit $?