From 5cf02445784bc3d0a8de3e37a9796d017e6b4fc7 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:58:34 +0000 Subject: [PATCH] 2003/04/10 01:50:08 darcs-hash:20040130065834-2ba56-950ba47fa0b4efbb6da257eba061a850f9a3682a.gz --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4