From 1efe5bb4ec1b295e6491979758a8b66db7cd025c Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 14 Apr 2018 17:24:23 +0300 Subject: [PATCH] Fix more mistakes --- misc/bootstrap.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/misc/bootstrap.sh b/misc/bootstrap.sh index 1d87e06..2b5ee47 100644 --- a/misc/bootstrap.sh +++ b/misc/bootstrap.sh @@ -13,10 +13,11 @@ mkdir -p bootstrap prefix=$PWD/bootstrap true && { - xz=http://caml.inria.fr/pub/distrib/ocaml-4.06/ocaml-4.06.1.tar.xz - test -e ocaml-4.06.1.tar.xz || dl $xz ocaml-4.06.1.xz - tar xf ocaml-4.06.1.xz - cd ocaml-4.06.1 + url=http://caml.inria.fr/pub/distrib/ocaml-4.06/ocaml-4.06.1.tar.xz + xz=$(basename $url) + test -e $xz || dl $url $xz + tar xf $xz + cd ${xz%.tar.xz} ./configure -prefix $prefix make -j4 world -s make install -- 2.11.4.GIT