mirror of
https://gitlab.com/scemama/qp_plugins_scemama.git
synced 2024-12-22 12:23:37 +01:00
Fixed qmcchem plugin
This commit is contained in:
parent
ad2b6b97c6
commit
8859303008
@ -1,23 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
pkg-config --libs trexio > LIB
|
|
||||||
|
|
||||||
scripts_list="qp_import_trexio.py"
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Create symlink in scripts
|
|
||||||
ln --symbolic ${PWD}/qp_import_trexio.py $QP_ROOT/scripts
|
|
Loading…
Reference in New Issue
Block a user