diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-11-10 22:27:08 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-11-10 22:27:08 +0300 |
commit | 4ca9ba34081c44f5d421b171ffaf874fb341d73f (patch) | |
tree | b02f6a3a85ad61ee6c432f8bb3ec641eaf51a1f5 /auto/modules | |
parent | a8a9d80f8dcff98a99c74a923a2a37b9e3e177eb (diff) | |
download | unit-4ca9ba34081c44f5d421b171ffaf874fb341d73f.tar.gz unit-4ca9ba34081c44f5d421b171ffaf874fb341d73f.tar.bz2 |
Java: fixing isolation mounts for Alpine musl.
Thanks to @wujjpp.
This closes #490 PR on GitHub.
Diffstat (limited to 'auto/modules')
-rw-r--r-- | auto/modules/java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/java b/auto/modules/java index a1f27131..60415c35 100644 --- a/auto/modules/java +++ b/auto/modules/java @@ -313,7 +313,7 @@ NXT_JAVA_LIBJVM="$NXT_JAVA_LIB_SERVER_PATH/libjvm.so" if [ "$NXT_SYSTEM" = "Darwin" ]; then NXT_JAVA_LIBC_DIR="/usr/lib" else -NXT_JAVA_LIBC_DIR=`ldd "$NXT_JAVA_LIBJVM" | grep libc.so | cut -d' ' -f3` +NXT_JAVA_LIBC_DIR=`ldd "$NXT_JAVA_LIBJVM" | grep -F libc. | cut -d' ' -f3` NXT_JAVA_LIBC_DIR=`dirname $NXT_JAVA_LIBC_DIR` fi |