Correct the instructions to set OPAMROOT. Problem reported by Laurence Tratt.

This commit is contained in:
chrisz 2019-09-22 18:29:54 +00:00
parent ab20313b12
commit e49631940c
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2019/09/22 17:59:03 chrisz Exp $
$OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
@ -12,7 +12,7 @@ the OPAM OCaml package manager to build unison with the same
version of the OCaml compiler on all machines:
doas pkg_add opam
opam init --no-setup --root ~/opam_unison \
--compiler ocaml-base-compiler.4.09.0
OPAMROOT=~/opam_unison
opam init --no-setup --compiler ocaml-base-compiler.4.09.0
opam install unison lablgtk # To build without the gui, remove lablgtk
$(opam var bin)/unison

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2019/09/22 17:59:03 chrisz Exp $
$OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
@ -12,7 +12,7 @@ the OPAM OCaml package manager to build unison with the same
version of the OCaml compiler on all machines:
doas pkg_add opam
opam init --no-setup --root ~/opam_unison \
--compiler ocaml-base-compiler.4.09.0
OPAMROOT=~/opam_unison
opam init --no-setup --compiler ocaml-base-compiler.4.09.0
opam install unison lablgtk # To build without the gui, remove lablgtk
$(opam var bin)/unison