summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
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"