Re: Quoted args in an array passed as an option?

2007-10-26 Thread bengoavs
I'm not exactly an expert, but did you try "--define '_smp_mflag -j1'" ? smplx wrote: > > I'm trying to pass on --define '_smp_mflag -j1' (with the quotes intact) > to the rpmbuild command but I can't get it working. Anyone have an idea > what I'm doing wrong? Thanks! > > #!/bin/bash > APPS=(a

Running commands from array in a child script

2007-10-26 Thread bengoavs
Hi guys, kind of a newbie question, so I apologize in advance. First I tried to export an array from one script to it's child, and I figured it's not supported in bash (would be happy if someone can correct me). So I pass the array cells one by one. It works for all commands except for those with