summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index d9a2e2b..df726b5 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -4,7 +4,8 @@ set -e
srcs=$(ls *.cc | grep -v test)
echo "Building stage 1..."
-g++ -o ninja $srcs
+g++ -o ninja.bootstrap $srcs
echo "Building final result..."
-./ninja ninja
+./ninja.bootstrap ninja
+rm ninja.bootstrap
echo "Done!"