From: megacz Date: Fri, 30 Jan 2004 06:58:34 +0000 (+0000) Subject: 2003/04/10 01:50:08 X-Git-Tag: RC3~1069 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=5cf02445784bc3d0a8de3e37a9796d017e6b4fc7 2003/04/10 01:50:08 darcs-hash:20040130065834-2ba56-950ba47fa0b4efbb6da257eba061a850f9a3682a.gz --- diff --git a/Makefile b/Makefile index 031983c..d02bc8c 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