Changeset 8fd0675f in mainline for tools/transform-copyright.sh
- Timestamp:
- 2022-08-13T12:07:55Z (2 years ago)
- Children:
- 4dd3912
- Parents:
- e49d0ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/transform-copyright.sh
re49d0ac r8fd0675f 7 7 grep -F '# Copyright' $FILENAME > $FILENAME.copyright__ 8 8 grep -v -F '# Copyright' $FILENAME > $FILENAME.nocopyright__ 9 head -n 2 7$FILENAME.nocopyright__ > $FILENAME.license__9 head -n 28 $FILENAME.nocopyright__ > $FILENAME.license__ 10 10 11 11 if diff -q $FILENAME.license__ license_text_tmp.txt; then 12 tail -n +2 8$FILENAME.nocopyright__ > $FILENAME.nolicense__12 tail -n +29 $FILENAME.nocopyright__ > $FILENAME.nolicense__ 13 13 echo '#!/bin/sh' > $FILENAME 14 14 echo "#" >> $FILENAME
Note:
See TracChangeset
for help on using the changeset viewer.