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.
expat/refresh.sh
1 parent 8247e1b commit 70ad1b3Copy full SHA for 70ad1b3
Modules/expat/refresh.sh
@@ -54,6 +54,13 @@ rm libexpat.tar.gz
54
# Step 3: Add the namespacing include to expat_external.h
55
sed -i 's/# define Expat_External_INCLUDED 1/&\n\/* Namespace external symbols to allow multiple libexpat version to\n co-exist. \*\/\n#include "pyexpatns.h"/' expat_external.h
56
57
+if ! grep -q '#include "pyexpatns\.h"' expat_external.h; then
58
+ echo "
59
+Error: namespacing include not found in expat_external.h;
60
+This may be due to source changes and will require updating this script" >&2
61
+ exit 1
62
+fi
63
+
64
echo "
65
Updated! next steps:
66
- Verify all is okay:
0 commit comments