Re: setting LIBDIR_IN_LDCONFIG fails if /lib is a symlink to /usr/lib

Subject: Re: setting LIBDIR_IN_LDCONFIG fails if /lib is a symlink to /usr/lib

Date: Sun, 27 May 2018 15:20:23 -0700

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> we could try:
>
>     for path in $ldconfig_paths; do
>         if [ "$path" = "$libdir_expanded" ]; then
>             libdir_in_ldconfig=1
>             break
>         fi
>         if [ "$path" -ef "$libdir_expanded" ]; then
>             libdir_in_ldconfig=1
>             break
>         fi
>     done
>

That looks less horrible than my idea. How portable is it? I guess test
-ef is not POSIX.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: