mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 20:31:16 +00:00
Completely removed $RESET variable from build script.
This commit is contained in:
parent
2f1a5af7c3
commit
9009301106
1 changed files with 1 additions and 7 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue