From e7430ddd8f5def8d2903ce7fd44148b66994fbfd Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Sat, 26 Mar 2016 14:49:31 -0400 Subject: [PATCH] build fixes --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index fe51781..4cde448 100755 --- a/build.sh +++ b/build.sh @@ -10,10 +10,10 @@ echo "" # and install into the linux folder where apps reside. INSTALL_DIR="/opt/ttn-gateway" -mkdir $INSTALL_DIR +if [ ! -d "$INSTALL_DIR" ]; then mkdir $INSTALL_DIR; fi BUILD_DIR="$INSTALL_DIR/dev" -mkdir $BUILD_DIR +if [ ! -d "$BUILD_DIR" ]; then mkdir $BUILD_DIR; fi # Switch to where we'll do the builds pushd $BUILD_DIR