jdk: refactor install phase, avoid deleting source files needed for IDE support
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user