From a1bebd6313afffeb5bcd2504b7b2155dc8e4198d Mon Sep 17 00:00:00 2001 From: Andrei Alexandrescu Date: Mon, 19 Jun 2017 00:41:48 +0300 Subject: [PATCH] Rename update.sh to setup.sh and make it work with auto-boostraping --- update.sh => setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename update.sh => setup.sh (96%) diff --git a/update.sh b/setup.sh similarity index 96% rename from update.sh rename to setup.sh index fea85c0..51e0d59 100755 --- a/update.sh +++ b/setup.sh @@ -168,9 +168,10 @@ function update() { function makeWorld() { # First make dmd ( + which dmd >/dev/null || BT="AUTO_BOOTSTRAP=1" cd "$wd/dmd/src" && - $makecmd -f posix.mak clean MODEL=$model && - $makecmd -f posix.mak -j $parallel MODEL=$model + $makecmd -f posix.mak clean MODEL=$model $BT && + $makecmd -f posix.mak -j $parallel MODEL=$model $BT ) # Update the running dmd version