mirror of https://github.com/ansible/ansible.git
Generalise determination of hacking directory path
Bash needs a special case to determine the dirname of the sourced path (the hacking dir), but in all other cases, using $0 allows the script to be sourced also from within the hacking directory, not only from its parent. Signed-off-by: martin f. krafft <madduck@madduck.net>pull/3209/head
parent
39aa5e5eac
commit
581dea70d1
Loading…
Reference in New Issue