On 25/06, Patrick Burroughs wrote:
On Thu, 25 Jun 2015 13:17:49 +0100 Mauro Santos
<registo.maill...@gmail.com> wrote:
Wouldn't just

local tarball="${source_$CARCH[0]}"

or something very similar do the job?

I believe you need:

local tarball=$(eval "echo \${source_${CARCH}[0]}")


Why do you believe that?

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/

Attachment: signature.asc
Description: PGP signature

Reply via email to