2015-01-19 15:45:05 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Installs the resultsFile Python library
|
|
|
|
# Mon Jan 19 15:08:18 CET 2015
|
|
|
|
|
|
|
|
URL="https://github.com/LCPQ/resultsFile/archive/master.tar.gz"
|
|
|
|
|
2015-01-19 16:11:36 +01:00
|
|
|
# Check the QPACKAGE_ROOT directory
|
|
|
|
if [[ -z ${QPACKAGE_ROOT} ]]
|
|
|
|
then
|
|
|
|
echo "The QPACKAGE_ROOT environment variable is not set."
|
|
|
|
echo "Please reload the quantum_package.rc file."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ${QPACKAGE_ROOT}
|
|
|
|
|
|
|
|
|
2015-05-04 19:44:09 +02:00
|
|
|
rm -rf resultsFile-master
|
2015-01-19 15:45:05 +01:00
|
|
|
${QPACKAGE_ROOT}/scripts/fetch_from_web.py ${URL} ${QPACKAGE_ROOT}/resultsFile.tar.gz
|
|
|
|
tar -zxf resultsFile.tar.gz && rm resultsFile.tar.gz ||exit 1
|
|
|
|
mv resultsFile-master resultsFile
|
|
|
|
|
|
|
|
|