summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index e2a972d..1718139 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -704,7 +704,7 @@ while [ "${count}" -ne 0 ] && \
fi
tar -tJf "${pkgfile}" 2>/dev/null | \
sed -n '
- s,^usr/lib/python\([^/]\+\)/$,python \1,
+ s,^usr/lib/python\(2\?\)\([^2/][^/]*\)/$,python\1 \1\2,
t print
s,^usr/lib/perl[^/]\+/\([^/]\+\)/$,perl \1,
t print