summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2008-03-15 14:41:10 +0100
committerFabien Tassin <fta@sofaraway.org>2008-03-15 14:41:10 +0100
commit36612404e03ea099ae54354f83a4e5b2f6226654 (patch)
tree54ebbb2ccef7c237682e2585c006f1ac430730e1 /src
parentc3d0c691950a91a71d3eea7799b19d192c284d5d (diff)
* Further update mozclient/nspr to generate a version containing the gecko
version, such as 4.7.1~beta~1.9b5~cvs20080310t1054 or 4.7.1~beta2~1.9b5~cvs20080314t1505 - update src/nspr.mk.in
Diffstat (limited to 'src')
-rw-r--r--src/nspr.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspr.mk.in b/src/nspr.mk.in
index 8518ed1..f2fcd11 100644
--- a/src/nspr.mk.in
+++ b/src/nspr.mk.in
@@ -22,7 +22,7 @@ MOZCLIENT_APPNAME := nspr
MOZCLIENT_PROJECT := $(NULL)
MOZCLIENT_MODULES := mozilla/nsprpub mozilla/config/milestone.txt
MOZCLIENT_FILE := mozilla/nsprpub/pr/include/prinit.h
-MOZCLIENT_GETVERSION := ( grep -E '^\#define PR_VERSION' mozilla/nsprpub/pr/include/prinit.h | cut -d\" -f2 | tr 'A-Z' 'a-z' | sed -e 's/ */~/g' -e 's/$$/~/' ; tail -1 mozilla/config/milestone.txt | sed -e 's/pre//') | tr -d '\n'
+MOZCLIENT_GETVERSION := ( grep -E '^\#define PR_VERSION' mozilla/nsprpub/pr/include/prinit.h | cut -d\" -f2 | tr 'A-Z' 'a-z' | sed -e 's/beta /beta/' -e 's/ */~/g' -e 's/$$/~/' ; tail -1 mozilla/config/milestone.txt | sed -e 's/pre//') | tr -d '\n'
MOZCLIENT_URL := 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fnsprpub&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=1177522884&maxdate=1588258884&cvsroot=%2Fcvsroot'
MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 $(MOZCLIENT_URL) 2> /dev/null | grep "href='http://webtools" | head -1 | tr '<>' '@' | cut -d@ -f5 | tr -d ':-' | sed -e 's/&nbsp;/t/'
MOZCLIENT_WANTMOZDIR := 1