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

Re: help with d/rules: is it possible to use with dh_auto_build -- $$arg within a for loop ?



Christophe Trophime <christophe.trophime@lncmi.cnrs.fr> writes:

> for D in "Axi 3D"; do \ 
>
> for N in "1 2"; do \ 

Please try removing the quotes on these two lines; as it is, D and N
each take on only a single value.

> echo "building hifimagnet$$D_P$$N_N$$N" ; \ 
> dh_auto_build -- hifimagnet$$D_P$$N_N$$N ; \ 

Please try using $${D} and $${N} here -- because _ is legal in
identifiers, the shell otherwise thinks you're asking about variables
named D_P and N_N.

Thanks for checking!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu


Reply to: