summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-03-09 15:31:03 +0100
committerHolger Levsen <holger@layer-acht.org>2016-03-09 15:31:03 +0100
commit287f0dcf0a63b64d065bccb95fbdaaaa7a77d405 (patch)
tree07214f733c369844a8d647d1cd187654a0102a58 /bin
parent16aaa1e262784593f392bf881f11eaea3582c677 (diff)
downloadjenkins.debian.net-287f0dcf0a63b64d065bccb95fbdaaaa7a77d405.tar.xz
fix syntax
Diffstat (limited to 'bin')
-rwxr-xr-xbin/diffoscope_pypi_test.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/diffoscope_pypi_test.sh b/bin/diffoscope_pypi_test.sh
index 88dd8506..288e165c 100755
--- a/bin/diffoscope_pypi_test.sh
+++ b/bin/diffoscope_pypi_test.sh
@@ -4,14 +4,13 @@
# released under the GPLv=2
DEBUG=false
-#. /srv/jenkins/bin/common-functions.sh
-#common_init "$@"
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
cleanup_all() {
rm $TMPPYPI
}
-
#
# main
#
@@ -23,7 +22,6 @@ curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI
DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2)
echo
echo
-
if [ "$DIFFOSCOPE_IN_DEBIAN" = "$DIFFOSCOPE_IN_PYPI" ] ; then
echo "Yay. diffoscope in Debian has the same version as on PyPI."
elif dpkg --compare-versions "$DIFFOSCOPE_IN_DEBIAN" gt "$DIFFOSCOPE_IN_PYPI" ; then