summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-07-15 11:46:49 +0200
committercyBerta <cyberta@riseup.net>2021-07-21 22:02:28 +0200
commita747c9a01d6942a2c3a797c5d90ad1ccbbfcc83c (patch)
tree81cc082b6886fb7e9a01e8347ffa4c94238997eb /scripts
parentfd34859474f9119d90b7817eec6cf8fd5676415d (diff)
reset all submodules in cleanProject
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cleanProject.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cleanProject.sh b/scripts/cleanProject.sh
index 954b96e6..e7d8460e 100755
--- a/scripts/cleanProject.sh
+++ b/scripts/cleanProject.sh
@@ -18,5 +18,6 @@ rm -r $BASE_DIR/tor-android/external/bin
rm -r $BASE_DIR/tor-android/external/include/
rm -r $BASE_DIR/tor-android/external/*.build-stamp
rm -r $BASE_DIR/tor-android/external/lib
+git submodule foreach --recursive git reset --hard HEAD
git submodule sync --recursive
git submodule update --init --recursive