Whamcloud - gitweb
b=13587
[fs/lustre-release.git] / build / cvsdiffclient
index 91b777b..66cd6b6 100644 (file)
@@ -6,14 +6,19 @@
 # in your .bashrc and you will get a nice bunch of CVS commit reminders:
 # <merge/land tag information>
 # b=<bug_number>
-# r=<reviewed by>
+# i=<inspected_by>
+# i=<inspected_by>
 #
 # Remember to remove the leading "CVS: " part of the comment before saving
 # your commit comment if you want those entries to be saved.
 
 [ -f .mergeinfo ] && . ./.mergeinfo
 
-FILES=`cvs-modified-files.pl $1`
+CVS_MODIFIED_FILES_PL=$(which cvs-modified-files.pl 2>/dev/null)
+if [ -z "$CVS_MODIFIED_FILES_PL" ]; then
+    CVS_MODIFIED_FILES_PL=$(dirname $0)/cvs-modified-files.pl
+fi
+FILES=$($CVS_MODIFIED_FILES_PL $1)
 TMP=`mktemp /tmp/cvslog-XXXXXXXX`
 if [ -f $TMP ]; then
        [ -f .mergeinfo ] && . .mergeinfo
@@ -34,7 +39,8 @@ cat - >> $TMP <<- EOF
        CVS: did you update the hours spent in Bugzilla?
        CVS: did you verify/update the HLD/DLD in CVS?
        CVS: b=<bug>
-       CVS: r=<reviewed_by>
+       CVS: i=<inspected_by>
+       CVS: i=<inspected_by>
 EOF
 
        cat $1 >> $TMP