From 1ff56596caff44536f00e2c449a292c93dff1d1c Mon Sep 17 00:00:00 2001 From: dreifachstein Date: Thu, 31 Aug 2017 16:43:04 +0800 Subject: Fix source dir detection in bootstrap.sh (#162) --- bootstrap.sh | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1