aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/build.sh')
-rwxr-xr-xbootstrap/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/build.sh b/bootstrap/build.sh
index 741f3aa..1e22560 100755
--- a/bootstrap/build.sh
+++ b/bootstrap/build.sh
@@ -1,5 +1,7 @@
#!/bin/env sh
+cd "$(dirname "$0")"
+
if [ x"$CC" == x ]; then
export CC=cc
fi