[Libreoffice] [PATCH] just find all .sdf files and do not use GNU find arguments

Jan Holesovsky kendy at suse.cz
Thu Nov 18 18:45:16 PST 2010


Hi Robert,

On 2010-11-13 at 19:00 +0100, Robert Nagy wrote:

> -for sdf_file in `find $TOOLSDIR/src $DEB_GSIDIR $TOOLSDIR/po $SRCDIR_PIECE -path $TOOLSDIR/src/clone -prune -o -name "*.sdf"` ; do
> +for sdf_file in `find $TOOLSDIR/src $DEB_GSIDIR $TOOLSDIR/po $SRCDIR_PIECE -path $TOOLSDIR/src/clone -name "*.sdf"` ; do

I am afraid this is not equivalent :-(  The "-path <something> -prune"
means "ignore the complete <something> structure".  Unfortunately, I
don't know what is the portable way to achieve that (other than find ...
| while read P ; do ... ; done, or something).

Regards,
Kendy



More information about the LibreOffice mailing list