diff options
author | Kenneth Heafield <github@kheafield.com> | 2011-11-30 16:32:50 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2011-11-30 16:32:50 +0400 |
commit | 7dd078573eab966652934126e6074a9773875334 (patch) | |
tree | 77459b657fe268d99995790988386b1edc316c35 /Jamroot | |
parent | 7d027b307f04a685a39c0d34597f10576c35c181 (diff) | |
parent | ead0684f0e507e34d43ee02fd329dc8b896c4338 (diff) |
Merge branch 'master' of github.com:moses-smt/mosesdecoder
Diffstat (limited to 'Jamroot')
-rw-r--r-- | Jamroot | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -59,12 +59,12 @@ path-constant TOP : . ; # Shell with trailing line removed http://lists.boost.org/boost-build/2007/08/17051.php -rule trim-nl ( str ) { +rule trim-nl ( str extras * ) { return [ MATCH "([^ -]*)" : $(str) ] ; +]*)" : $(str) ] $(extras) ; } -rule _shell ( cmd ) { - return [ trim-nl [ SHELL $(cmd) ] ] ; +rule _shell ( cmd : extras * ) { + return [ trim-nl [ SHELL $(cmd) : $(extras) ] ] ; } import option ; |