20 May
2008
20 May
'08
5:51 p.m.
The equivalent of the "-i" argument for file on Linux is "-I" on BSD. Both version allow the use of the long option "--mime". Signed-off-by: Sebastian Nowicki <sebnow@gmail.com> --- scripts/makepkg.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9da3687..ce5ac3f 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -606,7 +606,7 @@ extract_sources() { fi # fix flyspray #6246 - local file_type=$(file -bizL "$file") + local file_type=$(file -bzL --mime "$file") local cmd='' case "$file_type" in *application/x-tar*|*application/zip*|*application/x-zip*|*application/x-cpio*) -- 1.5.4.5