ghidra: eselect gradle if unset somehow

This commit is contained in:
Rick Farina (Zero_Chaos) 2022-12-07 09:59:30 -05:00
parent 8911915592
commit 7fadd5bfbd
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -47,6 +47,8 @@ S="${WORKDIR}/ghidra-Ghidra_${PV}_build"
pkg_setup() {
java-pkg-2_pkg_setup
# somehow this was unset on livecd run and it shouldn't be unset
eselect gradle update ifunset
gradle_link_target=$(readlink -n /usr/bin/gradle)
currentver="${gradle_link_target/gradle-bin-/}"
requiredver="7.3"