Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2011-11-30 16:32:50 +0400
committerKenneth Heafield <github@kheafield.com>2011-11-30 16:32:50 +0400
commit7dd078573eab966652934126e6074a9773875334 (patch)
tree77459b657fe268d99995790988386b1edc316c35 /Jamroot
parent7d027b307f04a685a39c0d34597f10576c35c181 (diff)
parentead0684f0e507e34d43ee02fd329dc8b896c4338 (diff)
Merge branch 'master' of github.com:moses-smt/mosesdecoder
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jamroot b/Jamroot
index 92b311eae..c7445d4a4 100644
--- a/Jamroot
+++ b/Jamroot
@@ -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 ;