Option --brief tells "file" not to prepend filenames to output lines. Using this option is better than parsing standard format of output of "file" with a regular expression. Some filenames contain ":". This confuses the regular expression: [build-pkg] i686-w64-mingw32.static Can't get type of file usr/i686-w64-mingw32.static/share/ gtk-doc/html/libgda-4.0/gen:sql_identifiers.html (libgda). file says "usr/i686-w64-mingw32.static/share/gtk-doc/html/ libgda-4.0/gen:sql_identifiers.html: HTML document, ASCII text"pull/860/head
parent
a8ccc4d3c6
commit
95fd81b139
Loading…
Reference in new issue