Skip to content

Commit 86bd075

Browse files
committed
Update create-stan-pull-request.sh to avoid depending on make
1 parent 4f91301 commit 86bd075

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

jenkins/create-stan-pull-request.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ echo ""
2020

2121
git checkout develop
2222
git pull origin
23-
make math-revert
23+
git submodule update --init --recursive
2424
pushd lib/stan_math > /dev/null
2525
git checkout develop
2626
git pull origin
2727
popd > /dev/null
28-
make math-revert
28+
git submodule update --init --recursive
2929

3030
original_commit_hash=$(cd lib/stan_math && git rev-parse --short HEAD)
3131
math_commit_hash=$(cd lib/stan_math && git rev-parse --short origin/develop)
@@ -39,7 +39,7 @@ if [ "$original_commit_hash" == "$math_commit_hash" ]; then
3939
echo ""
4040
echo "------------------------------------------------------------"
4141
echo ""
42-
trap : 0
42+
trap : 0
4343
exit 0
4444
fi
4545

@@ -54,7 +54,7 @@ git push origin develop
5454
## Done
5555
########################################
5656

57-
trap : 0
57+
trap : 0
5858

5959
echo "------------------------------------------------------------"
6060
echo ""

0 commit comments

Comments
 (0)