summaryrefslogtreecommitdiff
path: root/src/mozclient.mk.in
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2008-03-15 15:28:09 +0100
committerFabien Tassin <fta@sofaraway.org>2008-03-15 15:28:09 +0100
commit6d009c5f336b55c0301829a69fa5ec7b99712b1c (patch)
treede87f99de78da48fc0c623e5708dcab40c08eff2 /src/mozclient.mk.in
parentcbddfa307579bb8c7bcf50804d55acf2ac28c723 (diff)
* [mozclient] Fail when MOZCLIENT_GETDATE was not able to find the date on bonsai
- update src/mozclient.mk.in
Diffstat (limited to 'src/mozclient.mk.in')
-rw-r--r--src/mozclient.mk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mozclient.mk.in b/src/mozclient.mk.in
index 66eae0e..3c66e20 100644
--- a/src/mozclient.mk.in
+++ b/src/mozclient.mk.in
@@ -170,6 +170,7 @@ mozclient-checkout: MOZCLIENT_DATE = MOZ_CO_DATE="$(shell echo $(DEBIAN_DATE) |
endif
endif
mozclient-checkout:
+ @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) && make -f $(MOZ_CLIENT) checkout MOZ_CO_PROJECT=$(MOZCLIENT_PROJECT) $(MOZCLIENT_DATE) $(DEBIAN_MOZ_CO_TAG)
echo $(DEBIAN_DATE) > $(MOZCLIENT_TMP)/.date
else
@@ -184,6 +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
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