diff options
author | Erich Eckner <git@eckner.net> | 2019-06-12 14:11:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-12 14:11:21 +0200 |
commit | 5a9734503535f2b9b24e5743d17c25e20434417e (patch) | |
tree | 9b04d4fe1f3604573eed7b5638fee63a8cadeb23 /bin/build-packages | |
parent | e417e7ba28667f725b39a25794e110cdc5ed3fb8 (diff) | |
download | builder-5a9734503535f2b9b24e5743d17c25e20434417e.tar.xz |
bin/build-packages: only accept versions composed by numbers and dots for python, perl and ruby
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-x | bin/build-packages | 6 |
1 files changed, 3 insertions, 3 deletions
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 |