File: update_changed_copyright.bash

package info (click to toggle)
xorp 1.8.5-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,560 kB
  • ctags: 54,995
  • sloc: cpp: 397,204; sh: 17,490; ansic: 17,029; python: 7,643; lex: 1,632; yacc: 1,474; awk: 956; makefile: 251; perl: 217; sed: 33
file content (17 lines) | stat: -rwxr-xr-x 235 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Called as: $0 [start-git-md5] [end-git-md5] [year]
#set -x

START=$1
END=$2
YEAR=$3

for i in `git diff --name-only $START $END`
do
  if [ -f $i ]
      then
      ./xorp/devnotes/update_copyright.pl $YEAR $i
  fi
done