mirror of
https://github.com/LCPQ/quantum_package
synced 2024-10-19 22:41:48 +02:00
20 lines
309 B
Plaintext
20 lines
309 B
Plaintext
|
#!/bin/bash
|
||
|
# This script loads the Quantum Package environment. It should be invoked as
|
||
|
# source quantum_package.rc
|
||
|
|
||
|
WD=$PWD
|
||
|
cd $QP_ROOT/etc
|
||
|
for SCRIPT in *.rc
|
||
|
do
|
||
|
source $SCRIPT
|
||
|
done
|
||
|
cd $WD
|
||
|
|
||
|
if [[ -z ${QP_ROOT} ]]
|
||
|
then
|
||
|
echo The QP_ROOT environment variable is not set. Run
|
||
|
|
||
|
./configure -help
|
||
|
|
||
|
fi
|