nixpkgs/pkgs/tools/text/xml/jing/script-builder.sh
Martin Bravenboer 4c70ef7e5d Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3871
2005-09-17 23:58:51 +00:00

15 lines
219 B
Bash

. $stdenv/setup || exit 1
mkdir -p $out/bin || exit 1
cat >> $out/bin/jing <<EOF
#! /bin/sh
export JAVA_HOME=$jre
export LANG="en_US"
$jre/bin/java -jar $jing/bin/jing.jar \$@
EOF
chmod a+x $out/bin/jing || exit 1