https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
SOM! And thanks to Akim for helping me tracking this bug.
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix the previous fix (sigh).
* buildfarm_worker/build_test.fns (c_compiler, cxx_compiler): Add
missing closing paren.
build_test.fns | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Index: buildfarm_worker/build_test.fns
--- buildfarm_worker/build_test.fns (revision 402)
+++ buildfarm_worker/build_test.fns (working copy)
@@ -40,8 +40,7 @@
# -------------------------
# Check if an environment variable named ENVVAR exists, and print it if so.
# Otherwise, print DEFAULT.
-build_tool()
-{
+build_tool() {
envvar="$(printenv $1)"
default="$2"
if test -n "$envvar"; then
@@ -52,8 +51,8 @@
}
# C and C++ compilers used.
-c_compiler() { echo $(build_tool CC cc; }
-cxx_compiler() { echo $(build_tool CXX c++; }
+c_compiler() { echo $(build_tool CC cc); }
+cxx_compiler() { echo $(build_tool CXX c++); }
#############################
@@ -113,9 +112,12 @@
# `-t' option has been removed for this host, to see why this
# happens.
case "$host" in
- istanbul) $RSYNC -q -cz "$src"
$RSYNC_HOST::"buildfarm_log/$dst"; ;;
- *) $RSYNC -q -ctz "$src"
$RSYNC_HOST::"buildfarm_log/$dst"; ;;
+ istanbul) $RSYNC -q -cz "$src"
$RSYNC_HOST::"buildfarm_log/$dst" ;;
+ *) $RSYNC -q -ctz "$src"
$RSYNC_HOST::"buildfarm_log/$dst" ;;
esac
+
+
+
}
############################
@@ -217,7 +219,7 @@
# check if it was already visited
case $visited_deps in
- *$package* ) return 0; ;;
+ *$package*) return 0 ;;
esac
visited_deps="$visited_deps:$package"