Skip to content

Commit 212ee22

Browse files
committed
Merge branch '5.8.x'
2 parents 2f0566d + 55be476 commit 212ee22

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/run_generators.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export LC_ALL=C
66
# Runs the test and context generators.
77
#
88

9-
BASE="$(dirname $0)"
9+
PROJECT_ROOT=$(dirname $(dirname $(readlink -m $0)))
1010

11-
echo "Using base dir: $BASE"
12-
cd $BASE
11+
echo "Using base dir: ${PROJECT_ROOT}"
12+
cd ${PROJECT_ROOT}
1313

14-
php ContextGenerator.php contexts/ ../src/Contexts
15-
php TestGenerator.php ../tests/data ../tests/data
14+
php tools/ContextGenerator.php tools/contexts/ src/Contexts
15+
php tools/TestGenerator.php tests/data tests/data
1616

1717
echo "Done."

0 commit comments

Comments
 (0)