summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-04 18:59:00 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-04 19:47:46 (EST)
commitcc04fd727f847bff912e8d8d3a14b06765928fb5 (patch)
tree4acc59e5bfb03ab54dc527ca05728f394ef75bde
parent922282227ff8e300c0159e9f75c318d3991ac14d (diff)
cmd/build: List built files
This makes use of the extra space between the "Build Results" and "*.changes" headers.
-rw-r--r--src/cmd/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh
index 81e7343..3a3da4f 100644
--- a/src/cmd/build.sh
+++ b/src/cmd/build.sh
@@ -110,6 +110,7 @@ _cmd_build_build()
local build_date=
local es=
local changes=
+ local opks=
local opk=
local build_time=
@@ -163,11 +164,13 @@ _cmd_build_build()
changes="${_cmd_build_pkg_dir}/../$(: \
)${source}_${version}_${host_arch}_${host_plat}.changes"
if [ -r "${changes}" ]; then
+ opks="$(sed -n '/^Files:/,${ s/^ [0-9][0-9]* ..* //p; };' \
+ "${changes}")"
_cmd_build_header '-' 'Build Results'
+ printf '%s\n' "${changes##*/}" ${opks}
_cmd_build_header '~' "${changes##*/}"
cat "${changes}"
- for opk in $(sed -n '/^Files:/,${ s/^ [0-9][0-9]* ..* //p; };' \
- "${changes}"); do
+ for opk in ${opks}; do
_cmd_build_header '~' "${opk}"
opk="${_cmd_build_pkg_dir}/../${opk}"
tar -xzOf "${opk}" control.tar.gz | tar -xzO ./control