Message: previous - next
Month: February 2012

Re: [trinity-devel] Building tarballs from GIT

From: Baho Utot <baho-utot@...>
Date: Wed, 15 Feb 2012 18:36:50 -0500
On 02/15/2012 04:46 PM, David C. Rankin wrote:

> Hack it to suit your needs...     for f in ${_pkg[@]}; do

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

for example

dirs=( $(find . -maxdepth 2 -type d | sort) )
for d in ${tdedirs[@]}; do
     echo ${d}

or you can reduce it to just

for d in $(find . -maxdepth 2 -type d | sort); do
     echo "We be looking into ---> ${d}"
     echo "Do stuff here like taring the directory"