summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-09-19 16:43:53 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2011-09-19 16:44:03 +0200
commit3aa1975c5837a160b849d2b81fc7a4bcd7870155 (patch)
tree1e481bda8032eb4848a890e7a334487b44598da4 /wscript
parent243c218c7a768a5800f729fad02e8a22220d91f1 (diff)
downloadnodejs-3aa1975c5837a160b849d2b81fc7a4bcd7870155.tar.gz
nodejs-3aa1975c5837a160b849d2b81fc7a4bcd7870155.tar.bz2
nodejs-3aa1975c5837a160b849d2b81fc7a4bcd7870155.zip
build: make wscript work with python 2.4
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 47144a468..bc8d25bd4 100644
--- a/wscript
+++ b/wscript
@@ -241,7 +241,7 @@ def get_node_version():
return "%s.%s.%s%s" % ( node_major_version,
node_minor_version,
node_patch_version,
- "-pre" if node_is_release == "0" else ""
+ node_is_release == "0" and "-pre" or ""
)