From 480825bd65372c95a1c598e6163c1390f28b48f3 Mon Sep 17 00:00:00 2001 From: Joel Santos Date: Sun, 18 Nov 2018 15:50:19 +0000 Subject: [PATCH] [fix] Makefile echo of tabs --- init.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/init.sh b/init.sh index 323006d..6fdd5a1 100644 --- a/init.sh +++ b/init.sh @@ -1,10 +1,7 @@ #!/bin/sh APP_NAME=$1 -if [ -z "$APP_NAME"] - then - APP_NAME="rust-console-hello" -fi +if [ -z "$APP_NAME"]; then APP_NAME="rust-console-hello"; fi TARGET="thumbv4-none-agb" CRT_LOCAL="crt0.s" @@ -37,7 +34,7 @@ wget https://raw.githubusercontent.com/rust-console/gba/master/examples/hello1.r mv hello1.rs $APP_NAME/src/main.rs # setup make file -echo "CRT_FILE=$(echo $CRT_LOCAL) +echo -e "CRT_FILE=$(echo $CRT_LOCAL) CRT_OUTPUT=crt0.o PROJECT_NAME=$(echo $APP_NAME) TARGET=$(echo $TARGET) @@ -57,7 +54,7 @@ build-prod: " > $APP_NAME/Makefile # setup the readme file -echo "Rust console project +echo -e "Rust console project ---- ## Development