nixpkgs/pkgs/development/interpreters/j2re/builder.sh

14 lines
217 B
Bash
Raw Normal View History

. $stdenv/setup || exit 1
version=j2re1.4.2_03
cp $src $version.bin || exit 1
chmod u+x $version.bin || exit 1
alias more=cat
yes yes | ./$version.bin || exit 1
mkdir $out || exit 1
mv $version/* $out/ || exit 1