blob: aa4ba13963cd3af95f9997b7ab1b976d1a835f11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
source $stdenv/setup
unzip $src
ensureDir $out/jars
mv */*.jar $out/jars
jar=$(ls $out/jars/jdiskreport-*.jar)
ensureDir $out/bin
cat > $out/bin/jdiskreport <<EOF
#! $SHELL -e
exec $jdk/bin/java -jar $jar
EOF
chmod +x $out/bin/jdiskreport
|