diff options
author | dreifachstein <dreifachstein@users.noreply.github.com> | 2017-08-31 16:43:04 +0800 |
---|---|---|
committer | Daniel James <daniel@calamity.org.uk> | 2017-10-03 13:21:37 +0100 |
commit | 1ff56596caff44536f00e2c449a292c93dff1d1c (patch) | |
tree | ee5838156b43c04f4bef3f268a97031ea320b0c9 | |
parent | 578b5343902d8f179649d25b812c5318c369725e (diff) | |
download | boost-1ff56596caff44536f00e2c449a292c93dff1d1c.tar.gz |
Fix source dir detection in bootstrap.sh (#162)
-rwxr-xr-x | bootstrap.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 6767c8c3fc..716b8d4609 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 |