projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb79614
)
wscript shouldn't fail if 'git describe' doesn't work
author
Ryan Dahl
<ry@tinyclouds.org>
Mon, 21 Jun 2010 17:21:55 +0000
(10:21 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Mon, 21 Jun 2010 17:21:55 +0000
(10:21 -0700)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
9516245
..
cc2ef73
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-358,6
+358,7
@@
def build_v8(bld):
bld.install_files('${PREFIX}/include/node/', 'deps/v8/include/*.h')
+
def build(bld):
## This snippet is to show full commands as WAF executes
import Build
@@
-501,7
+502,10
@@
def build(bld):
def subflags(program):
if os.path.exists(join(cwd, ".git")):
- actual_version=cmd_output("git describe").strip()
+ try:
+ actual_version=cmd_output("git describe").strip()
+ except:
+ actual_version=VERSION+'+'
else:
actual_version=VERSION