summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-03-23 21:37:17 +0100
committerDave Reisner <dreisner@archlinux.org>2014-03-23 21:37:17 +0100
commitd90c1fb02faa0a5aeca6410a72d52d53ddf2455e (patch)
tree5286b22823bdacf9e0652f36df63444f07adca5d
parentd88deaadc591e1f6f62b7517772fb6b892d76251 (diff)
downloadmkinitcpio-d90c1fb02faa0a5aeca6410a72d52d53ddf2455e.tar.gz
mkinitcpio-d90c1fb02faa0a5aeca6410a72d52d53ddf2455e.tar.xz
Add binary library deps directly, without symlink zoo
Fixes FS#39560.
-rw-r--r--functions8
1 files changed, 1 insertions, 7 deletions
diff --git a/functions b/functions
index 2d38815..79b75ad 100644
--- a/functions
+++ b/functions
@@ -584,13 +584,7 @@ add_binary() {
fi
if [[ -f $sodep && ! -e $BUILDROOT$sodep ]]; then
- if [[ ! -L $sodep ]]; then
- add_file "$sodep" "$sodep" "$(stat -c %a "$sodep")"
- else
- resolved=$(readlink -e "$sodep")
- add_symlink "$sodep" "$(readlink "$sodep")"
- add_file "$resolved" "$resolved" 755
- fi
+ add_file "$sodep" "$sodep" "$(stat -Lc %a "$sodep")"
fi
done <<< "$lddout"