mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-04 13:13:57 +01:00
prepend in quantum_package.rc
This commit is contained in:
parent
50b12bcacb
commit
3a53ba3ea1
2
configure
vendored
2
configure
vendored
@ -489,7 +489,7 @@ def create_ninja_and_rc(l_installed):
|
|||||||
'function qp_prepend_export () {',
|
'function qp_prepend_export () {',
|
||||||
' #Prepend path $2:${!1}. Add the semicolon only if ${!1} is defined',
|
' #Prepend path $2:${!1}. Add the semicolon only if ${!1} is defined',
|
||||||
' eval "value_1=\"\${$1}\""',
|
' eval "value_1=\"\${$1}\""',
|
||||||
' echo ${value_1:+${value_1}:}${2}',
|
' echo ${value_1:+${2}:${value_1}}',
|
||||||
'}',
|
'}',
|
||||||
'export PYTHONPATH=$(qp_prepend_export "PYTHONPATH" "${QP_EZFIO}/Python":"${QP_PYTHON}")',
|
'export PYTHONPATH=$(qp_prepend_export "PYTHONPATH" "${QP_EZFIO}/Python":"${QP_PYTHON}")',
|
||||||
'export PATH=$(qp_prepend_export "PATH" "${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml)',
|
'export PATH=$(qp_prepend_export "PATH" "${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml)',
|
||||||
|
Loading…
Reference in New Issue
Block a user