trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] Building tarballs from GIT

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 15 Feb 2012 18:04:42 -0600
On 02/15/2012 05:36 PM, Baho Utot wrote:
> Hack in progress ;)
> 
> This might be better for the section
> 
> # create your tarballs  --->
> 
> for d in ${tdedirs[@]}; do
> 
> instead of
> 
> for((i=0;i<${#tdedirs[@]};i++)); do
> 
> <---
> 
> The you can use ${d} instead of
> 
>   # set current directory
>   current="${tdedirs[$i]}"

  Yep, you are correct!  But, I originally was using a double loop (for i in ...
for j in ...) to parse each module (tdepim, etc..) and then I would manipulate
the i loop index at the end of the j loop ((i+=j)) to jump to the next module :)

It just depends :)

  I'll keep my latest in:

http://www.3111skyline.com/dl/dt/trinity/scr/mkgittgz.sh

  currently just clean up typos in comments and the echo to output:

Entering Module: ${parent}

instead of

parent: ${parent}

  Also, do you have PKGBUILDs for the current 3.5.13? All mine a ~1 year old now
and it would be awesome if I could avoid rebuilding the wheel :)

-- 
David C. Rankin, J.D.,P.E.