[Piuparts-devel] [Git][debian/piuparts][develop] fixup d13b9f56: xz --verbose leads to output on stderr...

Holger Levsen gitlab at salsa.debian.org
Thu Dec 6 12:01:58 GMT 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
7aa4aedd by Holger Levsen at 2018-12-06T12:01:48Z
fixup d13b9f56: xz --verbose leads to output on stderr...

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- master-bin/rotate_master_logs.in


Changes:

=====================================
master-bin/rotate_master_logs.in
=====================================
@@ -45,7 +45,7 @@ for SECTION in $SECTIONS ; do
 	for log in $SECTION/master.*.log
 	do
 		if [ -f "$log" ] && [ "$log" != "$rlog" ]; then
-			xz -v9 $log 2>&1 >> $OUTPUT
+			xz -v9 $log >>$OUTPUT 2>&1
 		fi
 	done
 done
@@ -55,7 +55,7 @@ if [ -d $LOGDATEDIR ] && [ -n "$(find $LOGDATEDIR -type f ! -name '*.xz')" ] ; t
 	echo >> $OUTPUT
 	echo "Compressing old piuparts.d.o logfiles." >> $OUTPUT
 	echo >> $OUTPUT
-	find $LOGDATEDIR -type f ! -name '*.xz' -exec xz -v9 {} \; 2>&1 >> $OUTPUT
+	find $LOGDATEDIR -type f ! -name '*.xz' -exec xz -v9 {} \; >>$OUTPUT 2>&1
 fi
 
 if [ -s $OUTPUT ] ; then



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/7aa4aedd3fa0d629ddad70052ac8130252dc3ae7

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/7aa4aedd3fa0d629ddad70052ac8130252dc3ae7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181206/98940cdc/attachment.html>


More information about the Piuparts-devel mailing list