From 90093011060688cdcd56f26be3dd6d4278b8f7ae Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sun, 12 Jun 2016 21:03:25 +0200 Subject: [PATCH] Completely removed $RESET variable from build script. --- make-syncthing.bash | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/make-syncthing.bash b/make-syncthing.bash index e84171d1..267ac602 100755 --- a/make-syncthing.bash +++ b/make-syncthing.bash @@ -2,8 +2,6 @@ set -e -RESET=1 - MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" JNIDIR="/src/main/jniLibs" @@ -54,15 +52,11 @@ mkdir -p ${TARGETDIR} mv syncthing ${TARGETDIR}/libsyncthing.so chmod 644 ${TARGETDIR}/libsyncthing.so -if [[ RESET -eq 1 && -e ./build.go ]]; then +if [[ -e ./build.go ]]; then git clean -f fi popd -if [ $RESET -eq 1 ]; then - git submodule update --init ext/syncthing/src/github.com/syncthing/syncthing -fi - echo "Build Complete"