env-setup
1.32 KB
-
Generalise determination of hacking directory path · 581dea70
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>
martin f. krafft committed