OK, this version definitely builds both ways

This commit is contained in:
Michael Raskin 2012-10-26 13:19:54 +04:00
parent 27cdf7af77
commit 5e071cd74d

View File

@ -142,7 +142,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
pushd $out/lib/security || pushd $out/jre/lib/security
pushd $out/${if ! jreOnly then "jre/" else ""}lib/security
rm cacerts
perl ${./generate-cacerts.pl} $out/bin/keytool ${cacert}/etc/ca-bundle.crt
popd