File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ for f in `git ls-files` ; do
27
27
28
28
# skip symbolic links
29
29
if ` test -L $f ` ; then
30
- echo " Skipping symbolic link $f "
31
- continue
30
+ echo " Skipping symbolic link $f "
31
+ continue
32
32
fi
33
33
34
34
# process files with ZIB copyright string that do not include current year
35
35
if grep -o ' Copyright (c) [0-9]*-[0-9]* Zuse Institute Berlin (ZIB)' $f | grep -vq $NEWYEAR ; then
36
- echo " Updating $f "
37
- sed -i " s/Copyright (c) \([0-9]*\)-[0-9]* Zuse Institute Berlin (ZIB)/Copyright (c) \1-$NEWYEAR Zuse Institute Berlin (ZIB)/g" $f
36
+ echo " Updating $f "
37
+ sed -i " s/Copyright (c) \([0-9]*\)-[0-9]* Zuse Institute Berlin (ZIB)/Copyright (c) \1-$NEWYEAR Zuse Institute Berlin (ZIB)/g" $f
38
38
fi
39
39
40
40
# print matches for lines that have "Copyright" and "Zuse" but are not a valid ZIB copyright
You can’t perform that action at this time.
0 commit comments