generatewrapper fix
svn path=/nixpkgs/trunk/; revision=20796
This commit is contained in:
parent
318234c091
commit
8929e647c6
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ stdenv.mkDerivation (
|
|||
header "Generating jar wrappers"
|
||||
'' + (stdenv.lib.concatMapStrings (w: ''
|
||||
|
||||
cat >> $out/bin/jclasslib <<EOF
|
||||
cat >> $out/bin/${w.name} <<EOF
|
||||
#! /bin/sh
|
||||
export JAVA_HOME=$jre
|
||||
$jre/bin/java ${if w ? mainClass then "-cp $out/lib/java/${w.jar} ${w.mainClass}" else "-jar $out/lib/java/${w.jar}"} \$@
|
||||
|
|
Loading…
Reference in a new issue