[packages/rpm-build-tools/merge-pld-builder-client: 133/2675] - have no_depend effect also on post command

glen glen at pld-linux.org
Mon Dec 19 22:00:05 CET 2016


commit 51c2eed3363c7175c1c62335baaeaa0fd88f15d8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Mar 17 08:15:43 2011 +0000

    - have no_depend effect also on post command
    
    Changed files:
        client/make-request.sh -> 1.93

 make-request.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/make-request.sh b/make-request.sh
index 5a1f0b0..af99d3c 100644
--- a/make-request.sh
+++ b/make-request.sh
@@ -647,6 +647,9 @@ gen_req() {
 
 	if [ "$post_command" ]; then
 		bid=$(uuidgen)
+		if [ "$no_depend" = yes ]; then
+			depend=
+		fi
 		echo -E >&2 "* Post-Command: $post_command"
 		echo "	<batch id='$bid' depends-on='$depend'>"
 		echo "		 <command flags='$command_flags'>"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list