diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-01-18 19:36:52 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-01-18 19:39:29 -0600 |
commit | fb4bfe229fe8697578c320cf2e80c3703dca4239 (patch) | |
tree | 1d5597d22b45f85cc4b102b971ba08e3b9416890 | |
parent | de52932c9349459e1f5ae418062261ab1f0328d7 (diff) |
tb: get the absolute path for Bin_dir
-rwxr-xr-x | tb/tb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,7 +15,11 @@ if [ -n "$debug" ] ; then set -x fi +# get the abolute path to the directory containing the main script tb_BIN_DIR=$(dirname "$0") +pushd ${tb_BIN_DIR} > /dev/null +tb_BIN_DIR=$(pwd) +popd > /dev/nukk source "${tb_BIN_DIR?}/tb_internals.sh" |