diff --git a/install.sh b/install.sh index 04c171b..2f037f9 100755 --- a/install.sh +++ b/install.sh @@ -52,12 +52,14 @@ Step 3: Installing Leo..." cd leo && cargo install --path . && cd .. echo " -Step 4: Downloading parameters. This may take a few minutes..." +Step 4: Downloading parameters. This will take a few minutes... +" -# Create a new dummy Leo project. -leo new dummy > /dev/null 2>&1 && cd dummy +# Create a new Leo project. +leo new install > /dev/null 2>&1 +cd install -# Attempt to compile the dummy program until it passes. +# Attempt to compile the program until it passes. # This is necessary to ensure that the universal parameters are downloaded. declare -i DONE @@ -65,13 +67,13 @@ DONE=1 while [ $DONE -ne 0 ] do - leo build > /dev/null 2>&1 + leo build 2>&1 DONE=$? sleep 0.5 done -# Remove the dummy program. -cd .. && rm -rf dummy +# Remove the program. +cd .. && rm -rf install echo " Installation complete. Open a new Terminal to begin.