10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-07 06:33:38 +01:00
qmcchem/install/scripts/install_ezfio.sh

21 lines
471 B
Bash
Raw Normal View History

2015-12-18 22:25:32 +01:00
#!/bin/bash -x
TARGET=ezfio
function _install()
{
2015-12-18 22:53:27 +01:00
cd .. ; QMCCHEM_PATH="$PWD" ; cd -
2015-12-18 22:25:32 +01:00
set -e
set -u
rm -rf "${QMCCHEM_PATH}"/EZFIO
cd "${BUILD}"/config
rm -f -- qmc.config properties.config
touch "${QMCCHEM_PATH}"/ezfio_config/properties.config
ln -s "${QMCCHEM_PATH}"/ezfio_config/qmc.config qmc.config
ln -s "${QMCCHEM_PATH}"/ezfio_config/properties.config properties.config
cd -
mv "${BUILD}" "${QMCCHEM_PATH}"/EZFIO
}
source scripts/build.sh