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>
Showing
Please
register
or
sign in
to comment