Changeset 8fd0675f in mainline for tools/transform-copyright.sh


Ignore:
Timestamp:
2022-08-13T12:07:55Z (2 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
4dd3912
Parents:
e49d0ac
Message:

Update files with /bin/sh shebang and an extra space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/transform-copyright.sh

    re49d0ac r8fd0675f  
    77grep -F '# Copyright' $FILENAME > $FILENAME.copyright__
    88grep -v -F '# Copyright' $FILENAME > $FILENAME.nocopyright__
    9 head -n 27 $FILENAME.nocopyright__ > $FILENAME.license__
     9head -n 28 $FILENAME.nocopyright__ > $FILENAME.license__
    1010
    1111if diff -q $FILENAME.license__ license_text_tmp.txt; then
    12         tail -n +28 $FILENAME.nocopyright__ > $FILENAME.nolicense__
     12        tail -n +29 $FILENAME.nocopyright__ > $FILENAME.nolicense__
    1313        echo '#!/bin/sh' > $FILENAME
    1414        echo "#" >> $FILENAME
Note: See TracChangeset for help on using the changeset viewer.