X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/abfec7033192f94061714f1d9928c99f17d87ec1..e6a7e588f9a3abdcdb6cb031dc56ca7795814c50:/bin/mdw-sbuild diff --git a/bin/mdw-sbuild b/bin/mdw-sbuild index be687f6..5630dab 100755 --- a/bin/mdw-sbuild +++ b/bin/mdw-sbuild @@ -99,7 +99,13 @@ rc=$?; set -e rsync -a "$host:$builddir/" ./ case $rc in 0) ;; *) exit $rc ;; esac -## Maybe sign the result. +## Merge the change files together, and maybe sign the result. +chchch=${pkg}_${ver}_source.changes +for i in "${pkg}_${ver}"_*.changes; do + case " $chchch " in *" $i "*) ;; *) chchch="$chchch $i" ;; esac +done +mergechanges -f $chchch +rm $chchch case $signp in - t) debsign -k"$keyid" "${pkg}_${ver}_"*.changes ;; + t) debsign -k"$keyid" "${pkg}_${ver}_multi.changes" ;; esac