IntelliJ IDEA: do not assume that we are using OpenJDK.

This commit is contained in:
lostdj 2014-09-11 20:51:12 +04:00
parent 09afbd1f06
commit f3e0f5e755

View File

@ -42,7 +42,9 @@ let
mkdir -p $out/bin mkdir -p $out/bin
jdk=${jdk}/lib/openjdk [ -d ${jdk}/lib/openjdk ] \
&& jdk=${jdk}/lib/openjdk \
|| jdk=${jdk}
makeWrapper $out/idea-$build/bin/idea.sh $out/bin/idea \ makeWrapper $out/idea-$build/bin/idea.sh $out/bin/idea \
--prefix PATH : ${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin \ --prefix PATH : ${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin \