summaryrefslogtreecommitdiffstats
path: root/src/package
diff options
context:
space:
mode:
Diffstat (limited to 'src/package')
-rw-r--r--src/package/2.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/package/2.sh b/src/package/2.sh
index 18e5a85..98c5390 100644
--- a/src/package/2.sh
+++ b/src/package/2.sh
@@ -20,10 +20,10 @@
_package_2_build_deps=
-_package_2_get_name_and_version()
+package_2_get_name_version_dist()
{
# The first line is all we need to parse.
- sed '1{ s/^\([^ ][^ ]*\) (\([^)][^)]*\)).*$/\1 \2/; q; };' \
+ sed '1{ s/^\([^ ][^ ]*\) (\([^)][^)]*\)) \(.*\)$/\1 \2 \3/; q; };' \
"${package_dir}/changelog"
return 0