mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
doc: do not create a backup file
The `sed -i -- 's_^#include "chromeconf.h"_//#include "chromeconf.h"_' deps/zlib/zconf.h` command creates a `zconf.h--` backup file on macOS. Replace it with an equivalent perl one-liner so that it works on both Linux and macOS. PR-URL: https://github.com/nodejs/node/pull/47151 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
1 parent
be2791b512
commit
509b1eb3aa
1 file changed
+1
-1
@@ -15,7 +15,7 @@ mv zlib deps/
|
||||
mv deps/zlib.gyp deps/GN-scraper.py deps/zlib/
|
||||
mkdir deps/zlib/win32
|
||||
mv deps/zlib.def deps/zlib/win32
|
||||
sed -i -- 's_^#include "chromeconf.h"_//#include "chromeconf.h"_' deps/zlib/zconf.h
|
||||
perl -i -pe 's|^#include "chromeconf.h"|//#include "chromeconf.h"|' deps/zlib/zconf.h
|
||||
```
|
||||
|
||||
Check that Node.js still builds and tests.
|
||||
|
||||
Reference in new issue
Block a user