diff options
author | Allan McRae <allan@archlinux.org> | 2015-01-10 19:36:35 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-11 18:56:44 +1000 |
commit | 9e5e86aa146f6a63880df5ae17340156f7315eb0 (patch) | |
tree | 681489cc33d3c95727c426ad0417737946892a02 /scripts | |
parent | 89b9e9d1dced68587b704cb9e9a2aab55fb60b06 (diff) |
makepkg: fix removing static libraries when shared use absolute symlinks
When a shared library uses an absolute symlink for its its .so file, the check
if the shared version of a static library exists fails. Test for the presence
of a broken symlink too.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 1cd8756d..873b7d29 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1832,7 +1832,7 @@ tidy_install() { # check existence of backup files local file for file in "${backup[@]}"; do - if [[ ! -f $file ]]; then + if [[ ! -f $file && ! -h $file ]]; then warning "$(gettext "%s entry file not in package : %s")" "backup" "$file" fi done |