summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-04 17:09:28 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-04 18:48:27 (EST)
commitb685ee1fe02a0f0c7d271d16843cb4282c0dc738 (patch)
tree84d4d619462b6ea769a6f7860af47eaa2990b964 /src/cmd
parent9ab3a2c1745a3271820d32842d991ea44bbb9c18 (diff)
package_get_name_and_version(): Also get dist
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/build.sh5
1 files changed, 3 insertions, 2 deletions
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"