X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=400950d1868f9bc4e3f62a3b894075bc4e0ef440;hb=6e2c08e10be64461a469b97d4cf7593df385d581;hp=031983c2d1fc06a08d0585d424d04d354ed289fb;hpb=9a5deead77ca4a9c25ba063cd88d4a7852465899;p=org.ibex.core.git diff --git a/Makefile b/Makefile index 031983c..400950d 100644 --- a/Makefile +++ b/Makefile @@ -222,6 +222,7 @@ PalmOS: 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)) dist: # this will fail if we haven't checked-in since the comment is null; we want this. @@ -238,7 +239,7 @@ dist: tail -n 200 .make-dist.out | \ mail -s "Unsigned binaries of $(current_build) are now available" cvs@xwt.org else - ssh xwt@xwt.org verbose=$(verbose) /home/xwt/dist $(this_branch) \ + ssh xwt@xwt.org verbose=$(verbose) /home/xwt/dist $(this_branch_flag) \ | grep -v "make...:.\(Entering\|Leaving\).directory" endif