cmd-buildfetch: also symlink `builds/latest` if build is latest
It may happen that the build passed in *is* the latest. In that case, do
add the `latest` symlink too.
@@ -157,7 +157,7 @@ def main():
stdout=subprocess.DEVNULL)
# and finally the symlink
- if args.build is None:
+ if args.build is None or args.build == builds.get_latest():
rm_allow_noent('builds/latest')
os.symlink(buildid, 'builds/latest')
