summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh3
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