Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3871
This commit is contained in:
@@ -12,10 +12,10 @@ mkdir -p $out/bin
|
||||
cat >> $out/bin/ecj <<EOF
|
||||
#! /bin/sh
|
||||
|
||||
export JAVA_HOME=$j2re
|
||||
export JAVA_HOME=$jre
|
||||
export LANG="en_US"
|
||||
|
||||
$j2re/bin/java -cp $out/share/ecj/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main \$@
|
||||
$jre/bin/java -cp $out/share/ecj/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main \$@
|
||||
EOF
|
||||
|
||||
chmod u+x $out/bin/ecj
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, unzip, ant, j2re}:
|
||||
{stdenv, fetchurl, unzip, ant, jre}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ecj-3.1";
|
||||
@@ -8,6 +8,6 @@ stdenv.mkDerivation {
|
||||
md5 = "19ad65d52005da5eaa1d3687b3a50de2";
|
||||
};
|
||||
|
||||
inherit j2re;
|
||||
buildInputs = [unzip ant j2re];
|
||||
inherit jre;
|
||||
buildInputs = [unzip ant jre];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user