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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue