Skip to content

Commit 05f4f11

Browse files
committed
lk
1 parent f78966d commit 05f4f11

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
#!/bin/sh
22
set -ex
3+
cd "$(dirname "$0")/../../.."
34

45
commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
56

67
git clone --recurse-submodules --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
78

8-
cd /tmp/php-src-bundled/pcre2
9-
./autogen.sh
10-
./configure
11-
12-
cd "$(dirname "$0")/../../.."
9+
(cd /tmp/php-src-bundled/pcre2 && ./autogen.sh)
10+
(cd /tmp/php-src-bundled/pcre2 && ./configure)
1311

1412
rm -rf ext/pcre/pcre2lib
1513
cp -R /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
22
set -e
3+
cd "$(dirname "$0")/../../.."
34

4-
cd "$(dirname "$0")/../../../$1"
5+
cd "$1"
56

67
git add . -N && git diff --cached -a --exit-code . && git diff -a --exit-code .

0 commit comments

Comments
 (0)