Skip to content

Commit a5a7da1

Browse files
committed
x
1 parent e955d9c commit a5a7da1

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ cp -Rv /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib
1414
cp -Rv /tmp/php-src-bundled/pcre2/deps/sljit/sljit_src ext/pcre/pcre2lib/sljit
1515

1616
cd ext/pcre/pcre2lib
17-
git restore config.h
18-
mv pcre2_chartables.c.dist pcre2_chartables.c
17+
1918
rm -rf .deps
20-
rm config.h.generic
21-
rm pcre2.h.generic
2219
rm pcre2.h.in
2320
rm pcre2_dftables.c
2421
rm pcre2_fuzzsupport.c
@@ -31,5 +28,8 @@ rm pcre2posix_test.c
3128
rm pcre2test.c
3229
rm stamp-h1
3330

34-
git restore pcre2.h
3531
git restore pcre2_jit_compile.c
32+
33+
mv pcre2_chartables.c.dist pcre2_chartables.c
34+
mv pcre2.h.generic pcre2.h
35+
mv config.h.generic config.h

0 commit comments

Comments
 (0)