promote: Force apt-listchanges output to be English
authorChristoph Berg <myon@debian.org>
Thu, 12 Nov 2020 12:08:24 +0000 (13:08 +0100)
committerChristoph Berg <myon@debian.org>
Thu, 12 Nov 2020 12:08:51 +0000 (13:08 +0100)
repo/promote

index ba4f1d4ce70546f3b5754c588ecffb5b01717a48..6aa8f6bdda805dc986546b5ee71accb19e3d229d 100755 (executable)
@@ -90,7 +90,7 @@ NEWSHORTVERSION=$(echo "$NEWVERSION" | sed -e 's/.*://')
 
 if [ "$OLDVERSION" ]; then
        SOMEDEB=$(ls /srv/apt/repo/pool/$COMPONENT/$INITIAL/$PKG/*$NEWSHORTVERSION*deb | head -1)
-       CHANGES=$(apt-listchanges -f text --which=both --since=$OLDVERSION $SOMEDEB | fgrep -v -e 'Reading changelogs...' -e 'Lese Changelogs...')
+       CHANGES=$(LANGUAGE= LANG=C.UTF-8 apt-listchanges -f text --which=both --since=$OLDVERSION $SOMEDEB | fgrep -v 'Reading changelogs...')
        CHANGESTEXT="Old version $OLDVERSION:
 
 $OLDLSPROD