6da726d56e
svn path=/nixpkgs/trunk/; revision=5579
14 lines
201 B
Bash
14 lines
201 B
Bash
source $stdenv/setup
|
|
|
|
ensureDir $out/bin
|
|
|
|
cat >> $out/bin/jing <<EOF
|
|
#! $SHELL
|
|
|
|
export JAVA_HOME=$jre
|
|
export LANG="en_US"
|
|
|
|
exec $jre/bin/java -jar $jing/bin/jing.jar "\$@"
|
|
EOF
|
|
|
|
chmod a+x $out/bin/jing
|