Skip to content

Commit 1a8a994

Browse files
committed
xx
1 parent 0cf0e8c commit 1a8a994

File tree

1 file changed

+6
-5
lines changed
  • .github/scripts/download-bundled

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ cp -R /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-
2118
# unneeded files
2219
rm -rf .deps
20+
rm config.h.generic
2321
rm pcre2.h.generic
2422
rm pcre2.h.in
2523
rm pcre2_dftables.c
@@ -33,9 +31,12 @@ rm pcre2posix_test.c
3331
rm pcre2test.c
3432
rm stamp-h1
3533

34+
# renamed files
35+
mv config.h.generic config.h
36+
mv pcre2.h.generic pcre2.h
37+
mv pcre2_chartables.c.dist pcre2_chartables.c
38+
3639
# extra files
3740
git restore config.h # based on config.h.generic but with many changes
38-
git restore pcre2.h # based on pcre2.h.generic
39-
git restore pcre2_jit_compile.c
4041

4142
# patched files

0 commit comments

Comments
 (0)