nixpkgs/pkgs/tools/text/xml/jing/script-builder.sh
Eelco Dolstra 6da726d56e * Trang (tool for converting to and from RelaxNG schemas).
svn path=/nixpkgs/trunk/; revision=5579
2006-07-04 19:17:34 +00:00

15 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