Commit 119d2233 authored by Chris Lamb's avatar Chris Lamb 💬 Committed by Mattia Rizzolo

reproducible Debian: Correct parsing of diffoscope version since recent update of

Closes: #895951
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <>
parent af47509f
...@@ -19,8 +19,8 @@ send_irc_warning() { ...@@ -19,8 +19,8 @@ send_irc_warning() {
check_pypi() { check_pypi() {
TMPPYPI=$(mktemp -t diffoscope-distribution-XXXXXXXX) TMPPYPI=$(mktemp -t diffoscope-distribution-XXXXXXXX)
# the following two lines are a bit fragile… # the following two lines are a bit fragile…
curl -o $TMPPYPI curl -o $TMPPYPI
DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2) DIFFOSCOPE_IN_PYPI=$(sed -ne 's@.*diffoscope \([0-9][0-9]*\).*@\1@gp' $TMPPYPI)
rm -f $TMPPYPI > /dev/null rm -f $TMPPYPI > /dev/null
echo echo
echo echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment