mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: fix macro name in update-undici
PR-URL: https://github.com/nodejs/node/pull/46217 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
parent
d094f1b804
commit
f8b80a6c5b
@ -32,10 +32,10 @@ rm -f deps/undici/undici.js
|
||||
FILE_PATH="$ROOT/src/undici_version.h"
|
||||
echo "// This is an auto generated file, please do not edit." > "$FILE_PATH"
|
||||
echo "// Refer to tools/update-undici.sh" >> "$FILE_PATH"
|
||||
echo "#ifndef SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
|
||||
echo "#define SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
|
||||
echo "#ifndef SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
|
||||
echo "#define SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
|
||||
echo "#define UNDICI_VERSION \"$UNDICI_VERSION\"" >> "$FILE_PATH"
|
||||
echo "#endif // SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
|
||||
echo "#endif // SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
|
||||
)
|
||||
|
||||
mv undici-tmp/node_modules/undici deps/undici/src
|
||||
|
Loading…
Reference in New Issue
Block a user