File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ type Option struct {
3636}
3737
3838func main () {
39- fmt .Println ("kcheck v1.4.2 " )
39+ fmt .Println ("kcheck v1.4.3 " )
4040 fmt .Printf ("build: %s(%s)\n " , builddate , commit )
4141 fmt .Println ("--------" )
4242 Workdir , _ := os .Getwd ()
@@ -58,6 +58,13 @@ func main() {
5858 } else if _ , err := os .Stat ("__metadata.metatxt" ); ! os .IsNotExist (err ) {
5959 opt .Listname = "__metadata.metatxt"
6060 opt .OfficialMeta = true
61+ } else {
62+ if _ , err := os .Stat ("contents" + string (os .PathSeparator ) + "allfiles.lst" ); ! os .IsNotExist (err ) {
63+ opt .Listname = "contents" + string (os .PathSeparator ) + "allfiles.lst"
64+ opt .OfficialType = true
65+ } else if _ , err := os .Stat ("allfiles.lst" ); ! os .IsNotExist (err ) {
66+ opt .Listname = "allfiles.lst"
67+ opt .OfficialType = true
6168 } else {
6269 if _ , err := os .Stat ("prop" + string (os .PathSeparator ) + "filepath.xml" ); ! os .IsNotExist (err ) {
6370 opt .Listname = "prop" + string (os .PathSeparator ) + "filepath.xml"
You can’t perform that action at this time.
0 commit comments