nixpkgs/pkgs/tools/text/xml/jing/script-builder.sh
2004-09-26 13:03:59 +00:00

15 lines
221 B
Bash

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