diff options
-rwxr-xr-x | pkgs/development/compilers/j2sdk/builder.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/compilers/j2sdk/builder.sh b/pkgs/development/compilers/j2sdk/builder.sh index b01efbe881e3c..ae3ae055b839b 100755 --- a/pkgs/development/compilers/j2sdk/builder.sh +++ b/pkgs/development/compilers/j2sdk/builder.sh @@ -19,3 +19,11 @@ yes yes | ./$src || exit 1 mkdir $out || exit 1 mv $dirname/* $out/ || exit 1 + +# remove crap in the root directory +for file in $out/* +do + if test -f $file ; then + rm $file + fi +done |