mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-09 13:07:58 -05:00
makepkg : add -L (--dereference) to file.
makepkg didn't correctly detect the type of the archive since it didn't dereference symlinks, and so failed to extract the source tarball. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
10c3f335d0
commit
656c895ca4
@ -611,7 +611,7 @@ extract_sources() {
|
||||
fi
|
||||
|
||||
# fix flyspray #6246
|
||||
local file_type=$(file -biz "$file")
|
||||
local file_type=$(file -bizL "$file")
|
||||
local cmd=''
|
||||
case "$file_type" in
|
||||
*application/x-tar*|*application/x-zip*|*application/x-cpio*)
|
||||
|
Loading…
Reference in New Issue
Block a user