1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04: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:
Chantry Xavier 2007-08-23 20:00:41 +02:00 committed by Dan McGee
parent 10c3f335d0
commit 656c895ca4

View File

@ -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*)