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

Re: bashims in debian/rules

Eric Delaunay <delaunay@lix.polytechnique.fr> writes:

> My environment works almost well except for bashims in debian/rules
> makefiles.

{} works in Debian's tcsh, zsh, ksh *and* bash.  {} is not some evil
bash-specific thing.

> IMO, makefiles that use bashims should put SHELL=/bin/bash at top
> them, but most packages just use one bashim: curly brackets in file
> names (like debian/{postinst,prerm}).  

Can we at least do

SHELL= `which bash`

instead of assuming it's in /bin?  I retract my suggestion earlier
about setting $SHELL because make ignores it. (duh)

> Then the better solution will be to simply rewrite the line to
> remove it.

I'm very unhappy about munging my debian/rules files for a brain dead
cross-compilation environment.

(And BTW I *really* hope you don't want me to ``fix'' the $()
posixisms in my debian/rules files, which ``break'' Solaris' so-called


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: