Skip to content

Commit 4b5f1e4

Browse files
committed
fix cd
1 parent 8eaecc0 commit 4b5f1e4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22
set -e
3-
4-
root_dir=$(cd ../../..; pwd)
3+
cd "$(dirname "$0")"
54

65
commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
76

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22
set -e
3+
cd "$(dirname "$0")"
34

4-
root_dir=$(cd ../../..; pwd)
5-
6-
cd $root_dir/$1
5+
cd $1
76
git add . -N && git diff --cached -a --exit-code . && git diff -a --exit-code .

0 commit comments

Comments
 (0)