Skip to content

Commit

Permalink
Apply fix to bash script to detect correct JAVA_HOME (#13387)
Browse files Browse the repository at this point in the history
* Apply fix to bash script to detect correct JAVA_HOME

Thanks to @chapmanb for pointing to b726965
Thanks to @keenhl for spotting the issue

* ADd zlib to meta.yaml
  • Loading branch information
lpantano authored Jan 28, 2019
1 parent 649b0b0 commit 7b80e90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion recipes/seqbuster/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ source:
sha256: 16419d453fd56bd6eb9164be4353a71c5859fac85a9f165edf73a0bf1048d505

build:
number: 0
number: 1
skip: True # [osx]

requirements:
run:
- openjdk >=8
- zlib

test:
commands:
Expand Down
2 changes: 1 addition & 1 deletion recipes/seqbuster/miraligner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ JAR_DIR=$DIR

java=java

if [ -z "${JAVA_HOME:=}" ]; then
if [ -n "${JAVA_HOME:=}" ]; then
if [ -e "$JAVA_HOME/bin/java" ]; then
java="$JAVA_HOME/bin/java"
fi
Expand Down

0 comments on commit 7b80e90

Please sign in to comment.