jdk: refactor install phase, avoid deleting source files needed for IDE support

This commit is contained in:
yawnt 2016-05-02 10:17:55 +02:00
parent f95ba43e8b
commit 84df0ba64c

View File

@ -103,7 +103,8 @@ let result = stdenv.mkDerivation rec {
mv $sourceRoot $out
fi
for file in $out/*
shopt -s extglob
for file in $out/!(*src.zip)
do
if test -f $file ; then
rm $file