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
1 changed files with 1 additions and 1 deletions

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