Changeset 257:d52832097f42 in freeDiameter for doc
- Timestamp:
- Apr 16, 2010, 5:04:03 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/update_copyright.sh
r0 r257 1 1 #!/bin/bash -x 2 2 3 # This script will search all waaad copyrights from source files, and update these if4 # the waaad source was modified later.3 # This script will search all copyrights dates from source files, and update these if 4 # the file has been modified at a later date. 5 5 6 if [ ! -f waaad/waaad-internal.h ];7 then echo "This script must be run from waaadtop directory"6 if [ ! -f include/freeDiameter/freeDiameter.h ]; 7 then echo "This script must be run from the source top directory" 8 8 exit 1; 9 9 fi; … … 11 11 # Create a clean working copy 12 12 TMPDIR=`mktemp -d up_cop.XXXXXXX` || exit 1 13 hg clone . $TMPDIR/ waaad|| exit 114 pushd $TMPDIR/ waaad13 hg clone . $TMPDIR/fD || exit 1 14 pushd $TMPDIR/fD 15 15 16 # Now, for each file 16 # Now, for each file with a copyright 17 17 for SRC_FILE in `find . -name .hg -prune -or -type f -exec grep -q 'Copyright (c) 20.., WIDE Project and NICT' {} \; -print`; 18 18 do
Note: See TracChangeset
for help on using the changeset viewer.