Boost logo

Boost-Build :

From: Jaroslav Gresula (jgresula.LEAVE-THIS-OUT_at_[hidden])
Date: 2008-01-04 18:48:42


Hello,

I have an updating action that looks like this:

action a
{
    cmd1 && cmd2 && cmd3 && cmd4 && cmd5 && cmd6
}

Since the individual cmds are lenghty I would like to put each of them
on a separate line in the action body but still want to run them as a
single shell command, something like this:

action a
{
    cmd1 && \
    cmd2 && \
    cmd3 && \
    cmd4 && \
    cmd5 && \
    cmd6
}

However, this does not work and I can't figure out what the correct
syntax is. Any ideas?

Thanks,

-- 
Jarda

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk