jdk: refactor install phase, avoid deleting source files needed for IDE support
This commit is contained in:
parent
f95ba43e8b
commit
84df0ba64c
|
@ -103,7 +103,8 @@ let result = stdenv.mkDerivation rec {
|
||||||
mv $sourceRoot $out
|
mv $sourceRoot $out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for file in $out/*
|
shopt -s extglob
|
||||||
|
for file in $out/!(*src.zip)
|
||||||
do
|
do
|
||||||
if test -f $file ; then
|
if test -f $file ; then
|
||||||
rm $file
|
rm $file
|
||||||
|
|
Loading…
Reference in a new issue