[packages/rpm-build-tools] builder: make list-sources-urls output usable, internal messages to stderr, sources/patches to stdou

glen glen at pld-linux.org
Mon Nov 5 22:54:47 CET 2012


commit fe61ecd420f773ff8380b610c8c139c8bfd672a6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 5 23:54:33 2012 +0200

    builder: make list-sources-urls output usable, internal messages to stderr, sources/patches to stdout

 builder.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/builder.sh b/builder.sh
index f8342a0..020a02f 100755
--- a/builder.sh
+++ b/builder.sh
@@ -2640,13 +2640,13 @@ case "$COMMAND" in
 		done
 		;;
 	"list-sources-urls" )
-		init_builder
+		init_builder >&2
 		NOCVSSPEC="yes"
 		DONT_PRINT_REVISION="yes"
-		get_spec
-		parse_spec
+		get_spec >&2
+		parse_spec >&2
 		SAPS="$SOURCES $PATCHES"
-		for SAP in $SAPS ; do
+		for SAP in $SAPS; do
 			echo $SAP
 		done
 		;;
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list