diff --git a/build.sh b/build.sh index d8d562b..592076b 100755 --- a/build.sh +++ b/build.sh @@ -9,12 +9,12 @@ echo "" # Build in a temp folder that we'll completely purge after build, # and install into the linux folder where apps reside. -BUILD_DIR="/tmp/ttn-gateway" -mkdir $BUILD_DIR - INSTALL_DIR="/opt/ttn-gateway" mkdir $INSTALL_DIR +BUILD_DIR="$INSTALL_DIR/dev" +mkdir $BUILD_DIR + # Switch to where we'll do the builds pushd $BUILD_DIR