summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh3
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