Navigation


Changeset 257:d52832097f42 in freeDiameter for doc


Ignore:
Timestamp:
Apr 16, 2010, 5:04:03 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Ported the script to freeDiameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/update_copyright.sh

    r0 r257  
    11#!/bin/bash -x
    22
    3 # This script will search all waaad copyrights from source files, and update these if
    4 # 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.
    55
    6 if [ ! -f waaad/waaad-internal.h ];
    7 then echo "This script must be run from waaad top directory"
     6if [ ! -f include/freeDiameter/freeDiameter.h ];
     7then echo "This script must be run from the source top directory"
    88exit 1;
    99fi;
     
    1111# Create a clean working copy
    1212TMPDIR=`mktemp -d up_cop.XXXXXXX` || exit 1
    13 hg clone . $TMPDIR/waaad || exit 1
    14 pushd $TMPDIR/waaad
     13hg clone . $TMPDIR/fD || exit 1
     14pushd $TMPDIR/fD
    1515
    16 # Now, for each file
     16# Now, for each file with a copyright
    1717for SRC_FILE in `find . -name .hg -prune -or -type f -exec grep -q 'Copyright (c) 20.., WIDE Project and NICT' {} \; -print`;
    1818do
Note: See TracChangeset for help on using the changeset viewer.