diff --git a/build.sh b/build.sh index 9351c4f0b43e..dfe2817314e1 100644 --- a/build.sh +++ b/build.sh @@ -63,7 +63,7 @@ if [ -f "$kernel" ] && [ -f "$dtb" ] && [ -f "$dtbo" ]; then echo -e "\nKernel compiled succesfully! Zipping up...\n" if [ -d "$AK3_DIR" ]; then cp -r $AK3_DIR AnyKernel3 - elif ! git clone -q https://github.com/rd-stuffs/AnyKernel3 -b FSociety; then + elif ! git clone -q --depth=1 https://github.com/rd-stuffs/AnyKernel3 -b FSociety; then echo -e "\nAnyKernel3 repo not found locally and couldn't clone from GitHub! Aborting..." exit 1 fi