1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Completely removed $RESET variable from build script.

This commit is contained in:
Felix Ableitner 2016-06-12 21:03:25 +02:00
parent 2f1a5af7c3
commit 9009301106

View file

@ -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"