diff options
author | dreifachstein <dreifachstein@users.noreply.github.com> | 2017-10-09 18:35:09 +0800 |
---|---|---|
committer | Daniel James <daniel@calamity.org.uk> | 2017-10-09 11:35:09 +0100 |
commit | 658afde08da52758856e65be9979291da6c0aff5 (patch) | |
tree | 7ce7a052449a6ab7e9fd99d2078bc1a817abaee3 /bootstrap.sh | |
parent | c47cf1cf5ae18d4bd98f6376ab2949785a5d0cc2 (diff) | |
download | boost-658afde08da52758856e65be9979291da6c0aff5.tar.gz |
Fix source dir detection in bootstrap.sh (#162)
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 9e61569e2e..c6f3423d3d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -188,8 +188,7 @@ EOF fi test -n "$want_help" && exit 0 -# TBD: Determine where the script is located -my_dir="." +my_dir=$(dirname "$0") # Determine the toolset, if not already decided if test "x$TOOLSET" = x; then |