summaryrefslogtreecommitdiff
path: root/scripts
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 14:14:19 -0400
commit656c895ca4a169ec933419ab9cea1897f08799e8 (patch)
tree8a5bfdd42caf6d1d6a55bd96e71b47c8a13f6e0c /scripts
parent10c3f335d00a38429ce51d2ebcc636083a71d050 (diff)
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>
Diffstat (limited to 'scripts')
-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*)