current_build := $(shell cat next.build)
this_branch := $(shell tail -c +2 CVS/Tag 2>/dev/null || echo HEAD)
-this_branch_flag := $(shell test $this_branch = HEAD && echo || echo -r $this_branch)
+this_branch_flag := $(shell test $(this_branch) = HEAD && echo || echo -r $(this_branch))
dist:
# this will fail if we haven't checked-in since the comment is null; we want this.