summaryrefslogtreecommitdiff
path: root/src/mozclient.mk.in
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2008-03-26 22:36:36 +0100
committerFabien Tassin <fta@sofaraway.org>2008-03-26 22:36:36 +0100
commit099b69ff9bdb9daaae3e68eb0a5ea5696f728dd8 (patch)
tree879fe6afa3f3435a3cd3d2136a580b05ca2d7bde /src/mozclient.mk.in
parentf6fde42fed4204ff710a6e9e50b8df63f3ead301 (diff)
* [mozclient] fix mozclient-checkout test when a tag is used
- update src/mozclient.mk.in
Diffstat (limited to 'src/mozclient.mk.in')
-rw-r--r--src/mozclient.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mozclient.mk.in b/src/mozclient.mk.in
index 3c66e20..67591bc 100644
--- a/src/mozclient.mk.in
+++ b/src/mozclient.mk.in
@@ -185,7 +185,7 @@ mozclient-checkout: MOZCLIENT_DATE = -D "$(shell echo $(DEBIAN_DATE) | $(DATE_FI
endif
endif
mozclient-checkout:
- @if [ "Z$(DEBIAN_DATE)" = "Z" ] ; then echo "*Error* DEBIAN_DATE is empty, MOZCLIENT_GETDATE failed ?" ; exit 1 ; fi
+ @if [ "Z$(DEBIAN_TAG)" = "Z" ] && [ "Z$(DEBIAN_DATE)" = "Z" ] ; then echo "*Error* DEBIAN_DATE is empty, MOZCLIENT_GETDATE failed ?" ; exit 1 ; fi
cd $(MOZCLIENT_TMP) && cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -q -z 3 co -P -A $(MOZCLIENT_DATE) $(DEBIAN_CO_TAG) $(MOZCLIENT_MODULES)
echo $(DEBIAN_DATE) > $(MOZCLIENT_TMP)/.date
endif