[packages/rpm-build-tools/merge-pld-builder-client: 48/2675] - valid xml

glen glen at pld-linux.org
Mon Dec 19 21:52:58 CET 2016


commit 00c385ff30a14f8b012da4c8ca5f7c433159db02
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Feb 1 15:29:28 2008 +0000

    - valid xml
    
    Changed files:
        client/make-request.sh -> 1.47

 make-request.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index b094db8..6dcdb2b 100644
--- a/make-request.sh
+++ b/make-request.sh
@@ -315,7 +315,7 @@ gen_req() {
 		bid=$(uuidgen)
 		echo >&2 "* Command: $command"
 		echo "	<batch id='$bid' depends-on=''>"
-		echo "		 <command flags='$command_flags'>$command</command>"
+		echo "		 <command flags='$command_flags'>$(echo "$command" | sed -e 's,&,\&,g;s,<,\<,g;s,>,\>,g')</command>"
 		echo "		 <info></info>"
 		for b in $builders; do
 			echo >&2 "* Builder: $b"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list