mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
build.sh: Use depth for cloning AnyKernel3
Change-Id: I3ecaa0c0810fcece5c3df0af2ca3195d913dcca8 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
6732aafda9
commit
239aecb5d1
2
build.sh
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user