[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder and building a package twice in a row with hook-skript?



Hi Ben

On Thu, Mar 19, 2009 at 10:05:07AM +1100, Ben Finney wrote:
> Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> writes:
> > cd /tmp/buildd
> > PKGNAMES=$(ls -d */)
> > for PKG in $PKGNAMES; do
> > 	if [ -d $PKG ]; then
> > 		cd $PKG
> > 		dpkg-buildpackage -tc
> > 	fi
> > done
> 
> I'm not sure why you get the names that are directories (‘ls -d */’),
> but then also test each one to see if it's a directory.

Indeed yes, that's a bit "non-sense". Thanks for the better version of
that.

Bests
Salvatore

Attachment: signature.asc
Description: Digital signature


Reply to: