We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb79614 commit 545e10fCopy full SHA for 545e10f
wscript
@@ -358,6 +358,7 @@ def build_v8(bld):
358
359
bld.install_files('${PREFIX}/include/node/', 'deps/v8/include/*.h')
360
361
+
362
def build(bld):
363
## This snippet is to show full commands as WAF executes
364
import Build
@@ -501,7 +502,10 @@ def build(bld):
501
502
503
def subflags(program):
504
if os.path.exists(join(cwd, ".git")):
- actual_version=cmd_output("git describe").strip()
505
+ try:
506
+ actual_version=cmd_output("git describe").strip()
507
+ except:
508
+ actual_version=VERSION+'+'
509
else:
510
actual_version=VERSION
511
0 commit comments