From 766681faf68decb8fc7d701e009459e494d76d8c Mon Sep 17 00:00:00 2001 From: Jonathan Adams Date: Thu, 31 Aug 2017 00:39:16 -0400 Subject: [PATCH] Added check for obj folder --- builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder.sh b/builder.sh index a47cc76..acf9765 100644 --- a/builder.sh +++ b/builder.sh @@ -51,6 +51,11 @@ output "$coin_name finished and can be found in $coin/src/Coind. Make sure you c output "Like my scripts? Please Donate to BTC Donation: 1AxK9a7dgeHvf3VFuwZ2adGiQTX6S1nhrp" else cd src +if [[ ! -e 'obj' ]]; then + sudo mkdir obj +elif [[ ! -d 'obj' ]]; then + output "Hey the developer did his job" 1>&2 +fi cd leveldb sudo chmod +x build_detect_platform sudo make clean