summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/chkcopyright b/bin/chkcopyright
index 928b9ec..4f67c78 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -456,6 +456,9 @@ FORTRAN_SOURCE()
# show the difference
FAILED $f
$DIFF ${EXTRACTEDFILE} ${FTN_COPYRIGHT}
+ if [ -n "$FIXIT" ]; then
+ FIX_COPYRIGHT $FTN_COPYRIGHT $f
+ fi
;;
esac
}