10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 20:34:58 +01:00

Add support for symbolic link which target qpsh

This commit is contained in:
mveril 2019-01-27 18:22:18 +01:00 committed by Anthony Scemama
parent 89d3f6312d
commit 102084fa59

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
export QP_ROOT=$(dirname $0)/.. export QP_ROOT=$(dirname "$(readlink -f "$0")")/..
bash --init-file <(cat << EOF bash --init-file <(cat << EOF
[[ -f /etc/bashrc ]] && source /etc/bashrc [[ -f /etc/bashrc ]] && source /etc/bashrc