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.
sed -i
1 parent e14fb9f commit d81161aCopy full SHA for d81161a
cpython-unix/build-cpython.sh
@@ -98,7 +98,8 @@ EOF
98
# ``#ifdef __APPLE__`` instead of a more specific feature flag. All
99
# occurrences of __APPLE__ in that file are related to libedit. So we
100
# just replace the content.
101
-sed -i s/__APPLE__/USE_LIBEDIT/g Modules/readline-libedit.c
+sed s/__APPLE__/USE_LIBEDIT/g Modules/readline-libedit.c > tmp
102
+mv tmp Modules/readline-libedit.c
103
104
# Most bits look at CFLAGS. But setup.py only looks at CPPFLAGS.
105
# So we need to set both.
0 commit comments