share: shallow clone bdwgc for Android and iOS
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 25 Mar 2018 14:06:38 +0000 (10:06 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 25 Mar 2018 15:27:52 +0000 (11:27 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

share/android-bdwgc/setup.sh

index fcfbab3..7ea0c27 100755 (executable)
@@ -20,9 +20,9 @@ cd "`dirname "${BASH_SOURCE[0]}"`"
 
 # Download or redownload
 rm -rf bdwgc
-git clone -b android https://github.com/xymus/bdwgc.git || exit 1
+git clone --depth=1 -b android https://github.com/xymus/bdwgc.git || exit 1
 
 # Setup libatomic_ops too
 cd bdwgc || exit 1
 git submodule init || exit 1
-git submodule update || exit 1
+git submodule update --depth=1 || exit 1