chiark / gitweb /
bin/mdw-sbuild: Add some section-header comments.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 13 Feb 2016 11:07:34 +0000 (11:07 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 13 Feb 2016 11:08:34 +0000 (11:08 +0000)
bin/mdw-sbuild

index 7bbeb3c7cba5a8aef54c4fae257d22266e2cce13..11c6c1648dcc3e7e503e76508caae317a46fb3b7 100755 (executable)
@@ -90,12 +90,16 @@ cd ..
 dsc=${pkg}_${ver}.dsc
 [ -f "$dsc" ] || fail "where is my \`.dsc' file?"
 
+## Actually do the build.  Get a build directory assigned by the server,
+## upload the sources, run the build, and collect the results.
 builddir=$(ssh "$host" mdw-sbuild-server dir "$pkg/$ver")
 dcmd rsync -a "$dsc" "$host:$builddir/"
 set +e; ssh "$host" mdw-sbuild-server $buildopts build "$builddir"
 rc=$?; set -e
 rsync -a "$host:$builddir/" ./
 case $rc in 0) ;; *) exit $rc ;; esac
+
+## Maybe sign the result.
 case $?,${keyid+t},$noactp in
   0,t,nil) debsign -k"$keyid" "${pkg}_${ver}_"*.changes ;;
 esac