Skip to content

Commit

Permalink
fix #540
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongbo Zhang committed Jul 20, 2016
1 parent 20400fe commit 45fd55e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ then
git submodule update --init --recursive
OCAML=ocaml
else
if [ -f "ocaml.tar.gz" ]
then
echo "ocaml.tar.gz already exists"
else
echo "creating ocaml.tar.gz"
git submodule update --init --recursive
cd ocaml && git clean -dfx && git archive HEAD -o ../ocaml.tar.gz && cd ..
fi
OCAML=ocaml_src
rm -rf $OCAML
mkdir -p $OCAML
Expand Down

0 comments on commit 45fd55e

Please sign in to comment.