summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/modules/nodejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/nodejs b/auto/modules/nodejs
index 100defe4..b2309143 100644
--- a/auto/modules/nodejs
+++ b/auto/modules/nodejs
@@ -170,7 +170,7 @@ ${NXT_NODE_VERSION_FILE}: ${NXT_VERSION_H}
${NXT_NODE_PACKAGE_FILE}: ${NXT_VERSION_H} src/nodejs/unit-http/package.json
mkdir -p ${NXT_BUILD_DIR}/src/${NXT_NODE}
- sed -e 's/"version"\s*:.*/"version": "\$(NXT_VERSION)",/' \
+ sed -e "s|%%VERSION%%|\$(NXT_VERSION)|" \
src/nodejs/unit-http/package.json > ${NXT_NODE_PACKAGE_FILE}
${NXT_NODE_TARBALL}: ${NXT_NODE}-copy