Merge branch 'jk/check-repository-format'
[gitweb.git] / t / t9200-git-cvsexportcommit.sh
index 5cfb9cfc52e715c916f3ebe922e57263d7c4d7da..bb879a527d94e7329dccef15525421917676f56b 100755 (executable)
@@ -35,7 +35,7 @@ exit 1
 
 check_entries () {
        # $1 == directory, $2 == expected
-       grep '^/' "$1/CVS/Entries" | sort | cut -d/ -f2,3,5 >actual
+       sed -ne '/^\//p' "$1/CVS/Entries" | sort | cut -d/ -f2,3,5 >actual
        if test -z "$2"
        then
                >expected