mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-25 04:53:32 +01:00
21 lines
622 B
Plaintext
21 lines
622 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# Check if the QP_ROOT environment variable is set.
|
||
|
if [[ -z ${QP_ROOT} ]]
|
||
|
then
|
||
|
print "The QP_ROOT environment variable is not set."
|
||
|
print "Please reload the quantum_package.rc file."
|
||
|
exit -1
|
||
|
fi
|
||
|
|
||
|
# list of the scripts to be used by the module
|
||
|
scripts_list="qp_copy_extra_basis"
|
||
|
|
||
|
# Destroy ONLY the symbolic link for the scripts to be used in the
|
||
|
# ${QP_ROOT}/scripts/ directory.
|
||
|
for i in $scripts_list
|
||
|
do
|
||
|
find ${QP_ROOT}/scripts/$i -type l -delete
|
||
|
done
|
||
|
|