From b685ee1fe02a0f0c7d271d16843cb4282c0dc738 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 04 Jan 2021 17:09:28 -0500 Subject: package_get_name_and_version(): Also get dist --- (limited to 'src/cmd') diff --git a/src/cmd/build.sh b/src/cmd/build.sh index f7d6716..dab9964 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -112,6 +112,7 @@ cmd_build_main() local arg= local source= local version= + local dist= local log= local es= @@ -179,8 +180,8 @@ cmd_build_main() return 2 fi - read -r source version <<-EOF - $(package_get_name_and_version) + read -r source version dist <<-EOF + $(package_get_name_version_dist) EOF log="${_cmd_build_pkg_dir}/../$(: \ )${source}_${version}_${host_arch}_${host_plat}.log" -- cgit v0.9.1