Dont try to repack empty JAR's (#269481, #547699)

- patch originally from Kai Bolay
This commit is contained in:
Panu Matilainen 2010-01-22 10:59:42 +02:00
parent 9ed9b4e345
commit afe45959fb
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [ ! -x /usr/bin/unzip ]; then
exit 0
fi
JARS=`find $RPM_BUILD_ROOT -type f -name \*.jar`
JARS=`find $RPM_BUILD_ROOT -type f -name \*.jar -not -size 0`
if [ ! -z "$JARS" ]; then
# make $RPM_BUILD_ROOT/tmp if it doesn't exist