diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/build.sh | 7 |
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 |