Skip to content

Commit e7f25ac

Browse files
committed
xx
1 parent a5a7da1 commit e7f25ac

File tree

1 file changed

+9
-3
lines changed
  • .github/scripts/download-bundled

1 file changed

+9
-3
lines changed

.github/scripts/download-bundled/pcre2.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ cp -Rv /tmp/php-src-bundled/pcre2/deps/sljit/sljit_src ext/pcre/pcre2lib/sljit
1515

1616
cd ext/pcre/pcre2lib
1717

18+
# renamed files
19+
mv pcre2_chartables.c.dist pcre2_chartables.c
20+
mv config.h.generic config.h
21+
22+
# unneeded files
1823
rm -rf .deps
24+
rm pcre2.h.generic
1925
rm pcre2.h.in
2026
rm pcre2_dftables.c
2127
rm pcre2_fuzzsupport.c
@@ -28,8 +34,8 @@ rm pcre2posix_test.c
2834
rm pcre2test.c
2935
rm stamp-h1
3036

37+
# added files
38+
git restore pcre2.c
3139
git restore pcre2_jit_compile.c
3240

33-
mv pcre2_chartables.c.dist pcre2_chartables.c
34-
mv pcre2.h.generic pcre2.h
35-
mv config.h.generic config.h
41+
# patched files

0 commit comments

Comments
 (0)