forked from mirrors/nixpkgs
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
15 lines
240 B
Bash
15 lines
240 B
Bash
source $stdenv/setup
|
|
|
|
unzip $src
|
|
|
|
mkdir -p $out/jars
|
|
mv */*.jar $out/jars
|
|
jar=$(ls $out/jars/jdiskreport-*.jar)
|
|
|
|
mkdir -p $out/bin
|
|
cat > $out/bin/jdiskreport <<EOF
|
|
#! $SHELL -e
|
|
exec $jdk/bin/java -jar $jar
|
|
EOF
|
|
chmod +x $out/bin/jdiskreport
|