From 5a9734503535f2b9b24e5743d17c25e20434417e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 12 Jun 2019 14:11:21 +0200 Subject: bin/build-packages: only accept versions composed by numbers and dots for python, perl and ruby --- bin/build-packages | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index a4b4cf2..5a497c7 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -713,11 +713,11 @@ while [ "${count}" -ne 0 ] && \ fi tar -tJf "${pkgfile}" 2>/dev/null | \ sed -n ' - s,^usr/lib/python\(2\?\)\([^2/][^/]*\)/$,python\1 \1\2, + s,^usr/lib/python\(2\?\)\([013-9.][0-9.]*\)/$,python\1 \1\2, t print - s,^usr/lib/perl[^/]\+/\([^/]\+\)/$,perl \1, + s,^usr/lib/perl[^/]\+/\([0-9.]\+\)/$,perl \1, t print - s,^usr/lib/ruby/\([^/]\+\)/$,ruby \1, + s,^usr/lib/ruby/\([0-9.]\+\)/$,ruby \1, t print b :print -- cgit v1.2.3-54-g00ecf