b=448155; fixup patch for hg identify -i not working in scratchbox to fix mobile build bustage; r=me

This commit is contained in:
Vladimir Vukicevic 2008-09-22 17:30:36 -07:00
parent a2171043b5
commit 3222066eb1
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ GRE_BUILDID = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBX
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
SOURCE_STAMP := $(shell hg identify -i $(topsrcdir) 2>/dev/null)
SOURCE_STAMP := $(shell hg identify $(topsrcdir) 2>/dev/null | cut -f1 -d' ')
ifdef SOURCE_STAMP
DEFINES += -DMOZ_SOURCE_STAMP="$(SOURCE_STAMP)"
endif

View File

@ -58,7 +58,7 @@ DEFINES += \
-DCPPFLAGS="$(CPPFLAGS)" \
$(NULL)
CHANGESET := $(shell hg identify -i $(topsrcdir) 2>/dev/null)
CHANGESET := $(shell hg identify $(topsrcdir) 2>/dev/null | cut -f1 -d' ')
ifdef CHANGESET
DEFINES += -DSOURCE_CHANGESET="$(CHANGESET)"
endif