mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 20:35:19 +01:00
Corrected OPAM_PATH
This commit is contained in:
parent
092992aa49
commit
66dea5e7b8
2
configure
vendored
2
configure
vendored
@ -506,7 +506,7 @@ def create_ninja_and_rc(l_installed):
|
|||||||
|
|
||||||
qp_opam_root = os.getenv('OPAMROOT')
|
qp_opam_root = os.getenv('OPAMROOT')
|
||||||
if not qp_opam_root:
|
if not qp_opam_root:
|
||||||
qp_opam_root = '${HOME}'
|
qp_opam_root = '${HOME}/.opam'
|
||||||
l_rc.append('export QP_OPAM={0}'.format(qp_opam_root))
|
l_rc.append('export QP_OPAM={0}'.format(qp_opam_root))
|
||||||
l_rc.append('source ${QP_OPAM}/opam-init/init.sh > /dev/null 2> /dev/null || true')
|
l_rc.append('source ${QP_OPAM}/opam-init/init.sh > /dev/null 2> /dev/null || true')
|
||||||
l_rc.append('')
|
l_rc.append('')
|
||||||
|
Loading…
Reference in New Issue
Block a user