Re: debian/rules and find

1998-10-12 Thread Rob Browning
Martin Schulze <[EMAIL PROTECTED]> writes: > So please check your debian/rules files for constructs like the > following: > >chmod g+w `find debian/tmp -name foo` > >find debian/tmp -name foo|xargs chmod g+w > > the correct way to implement this would be > >find debian/

debian/rules and find

1998-10-07 Thread Martin Schulze
Hi, this afternoon I occurred a serious problem where some of our debian/rules file will fail. xargs will *always* execute the command, even with no input. This means that all constructs like "find -name foo|xargs chmod g+w" will fail as soon as find doesn't find any file. As Joey pointed out t