Bug 1200861 - Bustage fix for previous push. rs=Callek,a=philipp SEAMONKEY_2_38b1_BUILD1 SEAMONKEY_2_38b1_RELEASE
authorPhilipp Kewisch <mozilla@kewis.ch>
Wed, 02 Sep 2015 21:03:30 +0200
changeset 22867 409957bf23934f7f446bcb99b3ab78a5d83d5ee4
parent 22866 88062c7a9dc08e7ddad3fd7602a73fd702e44edc
child 22868 c4017b0a0f86027484dea45cb1eba3484310f846
child 22872 fef892adccdfb9c2e469a4cbe90aedecb1580401
push id1454
push usermozilla@kewis.ch
push dateWed, 02 Sep 2015 20:51:45 +0000
treeherdercomm-beta@409957bf2393 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, philipp
bugs1200861
Bug 1200861 - Bustage fix for previous push. rs=Callek,a=philipp
calendar/lightning/lightning-packager.mk
--- a/calendar/lightning/lightning-packager.mk
+++ b/calendar/lightning/lightning-packager.mk
@@ -50,17 +50,20 @@ endif
 endif
 
 # Check if EN_US_BINARY_URL has finally been set
 ifdef EN_US_BINARY_URL
 # If so, we are expected to unpack when the language pack is created
 ensure-stage-dir: wget-en-US unpack
 else
 # If not, use the existing lightning from xpi-stage, or warn that the var is not set.
-ensure-stage-dir: $(if $(wildcard $(XPI_STAGE_PATH)/$(XPI_NAME)/),,$(error You must set EN_US_BINARY_URL))
+ensure-stage-dir:
+ifeq (,$(wildcard $(XPI_STAGE_PATH)/$(XPI_NAME)/))
+	$(error You must set EN_US_BINARY_URL)
+endif
 endif
 
 $(XPI_STAGE_PATH):
 	mkdir -p $@
 
 # Target Directory used for the l10n files
 L10N_TARGET = $(XPI_STAGE_PATH)/$(XPI_NAME)-$(AB_CD)