Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Fri, 12 Aug 2005 19:05:21 +0000 (19:05 +0000)
committeradilger <adilger>
Fri, 12 Aug 2005 19:05:21 +0000 (19:05 +0000)
Put only the filenames into the cvs-merge-conflicts file, so that
vi `cat cvs-merge-conflicts` works.

build/land1.sh

index 6765c37..d3d643e 100755 (executable)
@@ -106,7 +106,8 @@ $CVS update -j ${CHILD}_BASE -j ${PARENT}_${CHILD}_LAND_CHILD_$date $dir
 echo "done"
 
 echo -n "Recording conflicts in $CONFLICTS ..."
-if $CVS update | grep '^C' > $CONFLICTS; then
+$CVS update | awk '/^C/ { print $2 }' > $CONFLICTS
+if [ -s $CONFLICTS ] ; then
     echo "Conflicts found, fix before committing."
     cat $CONFLICTS
 else