summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2010-07-23 17:23:58 +0200
committerJens-Heiner Rechtien <hr@openoffice.org>2010-07-23 17:23:58 +0200
commit7d19eb4cb0bd27c852dc83fe8c6ed9e0a8f5938d (patch)
treed01a0bddf037e7b02bda1d3cbdeb56ddb81d32b3
parentf834e58c6e0706b79a88f59dbfd109a7c734cc78 (diff)
masterfix: reset LOCALIZESDF if fetching localized sdf was not successful
-rw-r--r--solenv/inc/settings.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk
index c5283fb1b..76407f9f0 100644
--- a/solenv/inc/settings.mk
+++ b/solenv/inc/settings.mk
@@ -827,6 +827,9 @@ LOCALIZESDF:=$(strip $(shell @+$(IFEXIST) $(TRYSDF) $(THEN) echo $(TRYSDF) $(FI)
.IF "$(LOCALIZESDF)"==""
LOCALSDFFILE:=$(COMMONMISC)$/$(PRJNAME)$/$(PATH_IN_MODULE)$/localize.sdf
LOCALIZESDF:=$(strip $(shell @+$(IFEXIST) $(SOLARCOMMONSDFDIR)$/$(PRJNAME).zip $(THEN) echo $(LOCALSDFFILE) $(FI)))
+.IF "$(LOCALIZESDF)"==""
+LOCALSDFFILE!:=
+.ENDIF # "$(LOCALIZESDF)"==""
.ENDIF # "$(LOCALIZESDF)"==""
# dummy target to keep the build happy.
.IF "$(LOCALIZESDF)"==""