diff options
author | Grim Kriegor | 2022-09-30 21:15:48 +0100 |
---|---|---|
committer | Grim Kriegor | 2022-09-30 21:15:48 +0100 |
commit | f6b9ef88271149528f76387dc84714dc2cee4445 (patch) | |
tree | 920e990156bd303cf9cc7324bef13042d91d7924 | |
parent | 8ee35a4db594cea1dc35243d77b2ab494d502a5a (diff) | |
download | aur-f6b9ef88271149528f76387dc84714dc2cee4445.tar.gz |
Filter out non jdk entries in /usr/bin/jvm
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = kotlin-language-server pkgdesc = Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol pkgver = 1.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fwcd/KotlinLanguageServer arch = any license = MIT @@ -2,7 +2,7 @@ pkgname=kotlin-language-server pkgver=1.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol" arch=(any) url="https://github.com/fwcd/KotlinLanguageServer" @@ -15,7 +15,7 @@ source=("${url}/archive/${pkgver}.tar.gz") sha256sums=('a968e0079787f1a6d2f46b4dbd49b2394c266287c8573097f71a14cdb794223d') build() { - jdk="$(find /usr/lib/jvm -maxdepth 1 -name "*1*" | head -1)" && + jdk="$(find /usr/lib/jvm -maxdepth 1 -name "*1*jdk" | head -1)" && test -n "$jdk" && export JAVA_HOME="$jdk" cd "${srcdir}/${pkgname}-${pkgver}" ./gradlew server:installDist |