10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-20 04:52:36 +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 5329056ef8
commit ef5c0357d7

View File

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