From dbe5821d623eff711999a40e55311e0341f86dd2 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Sun, 24 Aug 2008 15:58:11 -0500 Subject: [PATCH] Fix test-lib bug not &&'ing together the exit code for multiple update scripts. --- tests/test-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-lib.sh b/tests/test-lib.sh index f88ad66..16099b7 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -466,8 +466,9 @@ install_update_hook () { echo "#!/bin/sh" >$hook for ((i=1;i<=$#;i+=1)); do eval script_name="$"$i - echo "../../../../server/$script_name \$1 \$2 \$3" >>$hook + echo "../../../../server/$script_name \$1 \$2 \$3 &&" >>$hook done + echo "echo >/dev/null" >>$hook chmod +x $hook } -- 2.39.5