10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-14 01:53:55 +01:00
quantum_package/scripts/install_emsl.sh

24 lines
553 B
Bash
Raw Normal View History

2015-01-12 16:58:22 +01:00
#!/bin/bash
#
# Installs EMSL_Basis_Set_Exchange_Local
# Mon Jan 12 12:57:19 CET 2015
BASE="EMSL_Basis_Set_Exchange_Local"
2015-01-19 15:45:05 +01:00
URL="https://github.com/LCPQ/${BASE}/archive/master.tar.gz"
2015-01-12 16:58:22 +01:00
if [[ -z ${QPACKAGE_ROOT} ]]
then
print "The QPACKAGE_ROOT environment variable is not set."
print "Please reload the quantum_package.rc file."
exit -1
fi
cd ${QPACKAGE_ROOT}
2015-01-19 15:45:05 +01:00
${QPACKAGE_ROOT}/scripts/fetch_from_web.py ${URL} ${QPACKAGE_ROOT}/${BASE}.tar.gz
tar -zxf ${BASE}.tar.gz && rm ${BASE}.tar.gz ||exit 1
rm -rf EMSL_Basis
2015-01-19 15:45:05 +01:00
mv ${BASE}-master EMSL_Basis
2015-01-12 16:58:22 +01:00