Whamcloud - gitweb
Mass conversion of all copyright messages to Oracle.
[fs/lustre-release.git] / build / updatecw.sh
index 4e3408e..4f8e40a 100755 (executable)
@@ -15,7 +15,7 @@ LECDATE="2010-02-15"
  
 git ls-files build ldiskfs libcfs lnet lustre snmp |grep -v ${0##*/} | while read FILE; do
     # Pick only files that have changed since LECDATE
-    if [ -n "$(git log -n1 --since=$LECDATE  $FILE)" ]; then
+    if true; then
        OLDCOPY="$(egrep "$SUNCOPY|$ORACOPY" $FILE | sed 's/.*Copy/Copy/')"
        if [ -z "$OLDCOPY" ]; then
            case $FILE in
@@ -29,7 +29,7 @@ git ls-files build ldiskfs libcfs lnet lustre snmp |grep -v ${0##*/} | while rea
 
        # Get commit dates
        git log --follow --pretty=format:%ci $FILE | cut -d- -f1 > $TMPFILE
-       NEWYEAR=$(head -1 $TMPFILE)
+       NEWYEAR=2010
        OLDYEAR=$(tail -1 $TMPFILE)
        rm $TMPFILE