Expand braces internally, as POSIX /bin/sh does not do {} expansion.

Signed-off-by: Russell Steicke <russells@adelie.cx>
This commit is contained in:
Russell Steicke 2013-03-31 00:04:28 +08:00 committed by Paul Beckingham
parent 0cc7bc337d
commit e4da3aca0d
8 changed files with 161 additions and 63 deletions

View file

@ -68,6 +68,7 @@ int CmdPush::execute (std::string& output)
Transport* transport;
if ((transport = Transport::getTransport (uri)) != NULL )
{
std::vector<std::string> sourcelist;
transport->send (location._data + "/{pending,undo,completed}.data");
delete transport;
}