Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fix to bash script to detect correct JAVA_HOME #13387

Merged
merged 2 commits into from
Jan 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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