[Fusionforge-commits] FusionForge branch master updated. c9d14bf9ffde6a9551a06017a3a49dd5cc3e7db5

Sylvain Beucler beuc-inria at fusionforge.org
Thu Sep 11 10:29:11 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  c9d14bf9ffde6a9551a06017a3a49dd5cc3e7db5 (commit)
      from  d9d9de51b088c1a31b9fb866bdc13f914cb50b6e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9d14bf9ffde6a9551a06017a3a49dd5cc3e7db5
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Sep 11 10:29:01 2014 +0200

    scmsvn: work-around augtool's absence of return code

diff --git a/src/plugins/scmsvn/bin/install.sh b/src/plugins/scmsvn/bin/install.sh
index 83e5f54..253e207 100755
--- a/src/plugins/scmsvn/bin/install.sh
+++ b/src/plugins/scmsvn/bin/install.sh
@@ -25,7 +25,8 @@ case "$1" in
 	    if [ -e $conf ] && type augtool >/dev/null 2>&1; then
 		val=$(augtool "print /files$conf/IfModule[arg='mpm_worker_module' or arg='worker.c']/directive[.='MaxRequestsPerChild']/arg" | sed 's/^.*= "\(.*\)"/\1/')
 		if [ "$val" = "0" ]; then
-		    augtool --autosave "set /files$conf/IfModule[arg='mpm_worker_module' or arg='worker.c']/directive[.='MaxRequestsPerChild']/arg 5000"
+		    augtool --autosave "set /files$conf/IfModule[arg='mpm_worker_module' or arg='worker.c']/directive[.='MaxRequestsPerChild']/arg 5000" \
+			|| true  # v0.10 always returns 1, v1.0 always returns 0..
 		fi
 	    fi
 	done

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmsvn/bin/install.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list