summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-08-23 20:00:41 +0200
committerDan McGee <dan@archlinux.org>2007-08-23 20:14:19 +0200
commit656c895ca4a169ec933419ab9cea1897f08799e8 (patch)
tree8a5bfdd42caf6d1d6a55bd96e71b47c8a13f6e0c
parent10c3f335d00a38429ce51d2ebcc636083a71d050 (diff)
downloadpacman-656c895ca4a169ec933419ab9cea1897f08799e8.tar.gz
pacman-656c895ca4a169ec933419ab9cea1897f08799e8.tar.xz
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>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index eb42ceff..e9578b22 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -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*)